Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009479/0.000948, allocations: 180.5 kB / 8.132 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.094/1.094, allocations: 221.4 MB / 229.9 MB, free: 3.164 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 91.61 kB / 280.8 MB, free: 1.184 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08771/0.08865, allocations: 55.82 MB / 336.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.2646, allocations: 50.39 MB / 387 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08256/0.3472, allocations: 80.98 MB / 468 MB, free: 5.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.3474, allocations: 67.97 kB / 468 MB, free: 5.707 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.0474/0.3948, allocations: 19.96 MB / 488 MB, free: 1.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3949, allocations: 19.92 kB / 488 MB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.3952, allocations: 142.4 kB / 488.2 MB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.3968, allocations: 0.8492 MB / 489 MB, free: 0.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.3968, allocations: 36 kB / 489 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.397, allocations: 67.94 kB / 489.1 MB, free: 492 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001816/0.3988, allocations: 1.144 MB / 490.3 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.4008, allocations: 1.316 MB / 491.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.4008, allocations: 3.938 kB / 491.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.874e-05/0.4009, allocations: 11.89 kB / 491.6 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.4009, allocations: 24 kB / 491.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005923/0.4069, allocations: 4.084 MB / 495.7 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.4075, allocations: 0.5422 MB / 496.2 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006874/0.4082, allocations: 0.5142 MB / 496.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.4083, allocations: 8.375 kB / 496.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.4083, allocations: 39 kB / 496.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 1.793e-06/0.4083, allocations: 4 kB / 496.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002263/0.4106, allocations: 1.629 MB / 498.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.4106, allocations: 55.84 kB / 498.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007883/0.4114, allocations: 0.6907 MB / 499.2 MB, free: 6.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.4114, allocations: 29.7 kB / 499.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.4117, allocations: 454.5 kB / 499.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.4118, allocations: 173.4 kB / 499.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.4118, allocations: 0 / 499.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.412, allocations: 378.8 kB / 0.4885 GB, free: 5.094 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.4124, allocations: 301.1 kB / 0.4888 GB, free: 4.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.4128, allocations: 394.9 kB / 0.4891 GB, free: 4.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.4132, allocations: 373.1 kB / 0.4895 GB, free: 4.016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4132, allocations: 0 / 0.4895 GB, free: 4.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001154/0.4144, allocations: 0.8674 MB / 0.4903 GB, free: 3.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.4144, allocations: 8.031 kB / 0.4903 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4144, allocations: 4 kB / 0.4903 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002392/0.4147, allocations: 104.8 kB / 0.4904 GB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.4152, allocations: 131.8 kB / 0.4906 GB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.4171, allocations: 2.063 MB / 0.4926 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.4174, allocations: 15.98 kB / 0.4926 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.4175, allocations: 20.06 kB / 0.4926 GB, free: 0.6758 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.4176, allocations: 123.8 kB / 0.4927 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.4177, allocations: 71.16 kB / 0.4928 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.4178, allocations: 78.61 kB / 0.4929 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4179, allocations: 8 kB / 0.4929 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4179, allocations: 0 / 0.4929 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4179, allocations: 3.984 kB / 0.4929 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1022/0.5201, allocations: 1.834 MB / 0.4947 GB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5201, allocations: 0 / 0.4947 GB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.5205, allocations: 96.62 kB / 0.4948 GB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/0.5207, allocations: 102.7 kB / 0.4949 GB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.5208, allocations: 8.219 kB / 0.4949 GB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.5221, allocations: 2.044 MB / 0.4969 GB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5221, allocations: 5.062 kB / 0.4969 GB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001101/0.5233, allocations: 1.27 MB / 0.4981 GB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001464/0.5247, allocations: 2.05 MB / 0.5001 GB, free: 128.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.5249, allocations: 159 kB / 0.5003 GB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.525, allocations: 3.156 kB / 0.5003 GB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.5254, allocations: 44.94 kB / 0.5003 GB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.5255, allocations: 34.81 kB / 0.5004 GB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.5255, allocations: 17.36 kB / 0.5004 GB, free: 128.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004676/0.526, allocations: 0.5392 MB / 0.5009 GB, free: 128.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001139/0.5271, allocations: 193.2 kB / 0.5011 GB, free: 128.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001322/0.5273, allocations: 105.7 kB / 0.5012 GB, free: 128 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008439/0.5281, allocations: 0.7807 MB / 0.5019 GB, free: 127.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5281, allocations: 0 / 0.5019 GB, free: 127.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005104/0.5287, allocations: 463.1 kB / 0.5024 GB, free: 127.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005984/0.5293, allocations: 142.6 kB / 0.5025 GB, free: 127.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.5317, allocations: 1.758 MB / 0.5042 GB, free: 127.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008458/0.5325, allocations: 1.413 MB / 0.5056 GB, free: 126.7 MB / 378.7 MB Notification: Performance of SimCode: time 4.7e-07/0.5326, allocations: 0 / 0.5056 GB, free: 126.7 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat