Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",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 3.2.3+maint.om/package.mo): time 0.0009711/0.0009711, allocations: 176.1 kB / 8.476 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.039/1.039, allocations: 205.2 MB / 214.1 MB, free: 5.078 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008411/0.0008411, allocations: 83.28 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1496/0.1505, allocations: 52.98 MB / 315.1 MB, free: 41.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06035/0.2109, allocations: 47.57 MB / 362.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.4172, allocations: 87.67 MB / 450.3 MB, free: 9.566 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.4174, allocations: 85.58 kB / 450.4 MB, free: 9.555 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.1319/0.5493, allocations: 57.33 MB / 0.4958 GB, free: 2.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.5494, allocations: 8 kB / 0.4958 GB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009656/0.5503, allocations: 261.3 kB / 0.4961 GB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.5529, allocations: 1.307 MB / 0.4974 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/0.553, allocations: 60 kB / 0.4974 GB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/0.5533, allocations: 107.9 kB / 0.4975 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003113/0.5564, allocations: 1.82 MB / 0.4993 GB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003924/0.5603, allocations: 2.218 MB / 0.5015 GB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.5604, allocations: 3.938 kB / 0.5015 GB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.5606, allocations: 0 / 0.5015 GB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.848e-05/0.5607, allocations: 99.58 kB / 0.5016 GB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.5712, allocations: 6.601 MB / 0.508 GB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.5726, allocations: 1.075 MB / 0.5091 GB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.574, allocations: 0.9843 MB / 0.51 GB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/0.5742, allocations: 134.6 kB / 0.5101 GB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.5743, allocations: 43.2 kB / 0.5102 GB, free: 3.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.5743, allocations: 0 / 0.5102 GB, free: 3.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.004466/0.5788, allocations: 2.619 MB / 0.5127 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.5788, allocations: 89.89 kB / 0.5128 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.5799, allocations: 0.868 MB / 0.5137 GB, free: 15.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.58, allocations: 37.64 kB / 0.5137 GB, free: 15.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.5803, allocations: 0.6769 MB / 0.5144 GB, free: 15.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.5806, allocations: 291.6 kB / 0.5147 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.5806, allocations: 0 / 0.5147 GB, free: 14.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5807, allocations: 345.9 kB / 0.515 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.5813, allocations: 457.8 kB / 0.5154 GB, free: 14.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006925/0.582, allocations: 0.628 MB / 0.516 GB, free: 13.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.5828, allocations: 0.5705 MB / 0.5166 GB, free: 12.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5828, allocations: 0 / 0.5166 GB, free: 12.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001866/0.5847, allocations: 1.307 MB / 0.5179 GB, free: 11.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5847, allocations: 5.875 kB / 0.5179 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5847, allocations: 4 kB / 0.5179 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/0.5851, allocations: 117 kB / 0.518 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.5862, allocations: 247.7 kB / 0.5182 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.5881, allocations: 1.997 MB / 0.5202 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.5887, allocations: 20.05 kB / 0.5202 GB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.5888, allocations: 39.98 kB / 0.5202 GB, free: 9.062 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.589, allocations: 120.8 kB / 0.5203 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.5892, allocations: 106.7 kB / 0.5205 GB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.5909, allocations: 1.164 MB / 0.5216 GB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.5909, allocations: 11.91 kB / 0.5216 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.591, allocations: 4 kB / 0.5216 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.591, allocations: 3.984 kB / 0.5216 GB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004276/0.5952, allocations: 2.863 MB / 0.5244 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.5953, allocations: 4 kB / 0.5244 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/0.5961, allocations: 179.8 kB / 0.5246 GB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/0.5964, allocations: 112.8 kB / 0.5247 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.5965, allocations: 8 kB / 0.5247 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/0.5989, allocations: 3.216 MB / 0.5278 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5989, allocations: 3.984 kB / 0.5278 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002299/0.6013, allocations: 1.862 MB / 0.5297 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003138/0.6044, allocations: 2.922 MB / 0.5325 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004707/0.6049, allocations: 292 kB / 0.5328 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.605, allocations: 0 / 0.5328 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.6056, allocations: 51.91 kB / 0.5328 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.6058, allocations: 52.69 kB / 0.5329 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.6058, allocations: 28 kB / 0.5329 GB, free: 11.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0008287/0.6067, allocations: 0.6747 MB / 0.5336 GB, free: 11.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001539/0.6082, allocations: 327.9 kB / 0.5339 GB, free: 10.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (load.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002791/0.6085, allocations: 168 kB / 0.534 GB, free: 10.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.6101, allocations: 1.19 MB / 0.5352 GB, free: 9.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6101, allocations: 0 / 0.5352 GB, free: 9.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008902/0.611, allocations: 0.6577 MB / 0.5359 GB, free: 8.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009397/0.6119, allocations: 207.1 kB / 0.536 GB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004485/0.6164, allocations: 2.654 MB / 0.5386 GB, free: 5.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/0.618, allocations: 1.853 MB / 0.5404 GB, free: 3.93 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.618, allocations: 0 / 0.5404 GB, free: 3.93 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat