Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",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.0009519/0.0009518, allocations: 180 kB / 8.477 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.044/1.044, allocations: 205.2 MB / 214.1 MB, free: 5.156 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.0008982/0.0008981, allocations: 98.22 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1579/0.1588, allocations: 52.97 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06451/0.2233, allocations: 47.57 MB / 362.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2187/0.442, allocations: 91.24 MB / 453.9 MB, free: 8.949 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.4423, allocations: 82.14 kB / 454 MB, free: 8.938 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.1851/0.6274, allocations: 76.27 MB / 0.5178 GB, free: 12.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.6274, allocations: 8 kB / 0.5178 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.6293, allocations: 395.7 kB / 0.5182 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005157/0.6345, allocations: 2.19 MB / 0.5203 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.6346, allocations: 100 kB / 0.5204 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009039/0.6355, allocations: 167.9 kB / 0.5206 GB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006111/0.6417, allocations: 3.018 MB / 0.5235 GB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007023/0.6487, allocations: 3.704 MB / 0.5272 GB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.457e-05/0.6488, allocations: 4 kB / 0.5272 GB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002753/0.6491, allocations: 7.984 kB / 0.5272 GB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.6492, allocations: 137.9 kB / 0.5273 GB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01702/0.6662, allocations: 10.49 MB / 0.5375 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.6683, allocations: 1.52 MB / 0.539 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.67, allocations: 1.354 MB / 0.5403 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/0.6703, allocations: 134 kB / 0.5405 GB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.6704, allocations: 51.56 kB / 0.5405 GB, free: 4.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=128): time 3.466e-06/0.6704, allocations: 0 / 0.5405 GB, free: 4.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.007718/0.6781, allocations: 4.319 MB / 0.5447 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.6782, allocations: 90.42 kB / 0.5448 GB, free: 492 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.6804, allocations: 1.468 MB / 0.5463 GB, free: 15.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.6806, allocations: 25.7 kB / 0.5463 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005517/0.6811, allocations: 1.079 MB / 0.5473 GB, free: 13.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003632/0.6815, allocations: 449.4 kB / 0.5478 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.6816, allocations: 0 / 0.5478 GB, free: 13.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6817, allocations: 365.8 kB / 0.5481 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.6827, allocations: 0.7926 MB / 0.5489 GB, free: 12.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.684, allocations: 1.134 MB / 0.55 GB, free: 11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.6854, allocations: 1.002 MB / 0.551 GB, free: 10 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6854, allocations: 0 / 0.551 GB, free: 10 MB / 410.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003953/0.6893, allocations: 2.399 MB / 0.5533 GB, free: 7.594 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6894, allocations: 4 kB / 0.5533 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/0.6894, allocations: 12 kB / 0.5533 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.6905, allocations: 372.7 kB / 0.5537 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.6919, allocations: 331.4 kB / 0.554 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/0.6971, allocations: 3.959 MB / 0.5579 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.6987, allocations: 51.92 kB / 0.5579 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.6989, allocations: 63.98 kB / 0.558 GB, free: 2.691 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.6992, allocations: 136.5 kB / 0.5581 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/0.6996, allocations: 177.9 kB / 0.5583 GB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/0.7032, allocations: 2.102 MB / 0.5603 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.7032, allocations: 12 kB / 0.5603 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.7032, allocations: 4 kB / 0.5604 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.7032, allocations: 7.984 kB / 0.5604 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008165/0.7114, allocations: 4.678 MB / 0.5649 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/0.7115, allocations: 7.984 kB / 0.5649 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.7126, allocations: 215.9 kB / 0.5651 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009504/0.7135, allocations: 353.1 kB / 0.5655 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.492e-05/0.7136, allocations: 11.98 kB / 0.5655 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004667/0.7183, allocations: 3.954 MB / 0.5694 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7183, allocations: 0 / 0.5694 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004466/0.7228, allocations: 3.302 MB / 0.5726 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1061/0.8289, allocations: 4.836 MB / 0.5773 GB, free: 136.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009925/0.83, allocations: 450.5 kB / 0.5777 GB, free: 136.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/0.8303, allocations: 7.875 kB / 0.5777 GB, free: 136.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.8314, allocations: 75.7 kB / 0.5778 GB, free: 136.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.8316, allocations: 70.03 kB / 0.5779 GB, free: 136.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.483e-05/0.8317, allocations: 42.7 kB / 0.5779 GB, free: 136.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001415/0.8331, allocations: 1.109 MB / 0.579 GB, free: 136.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00246/0.8356, allocations: 0.5151 MB / 0.5795 GB, free: 136.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005368/0.8361, allocations: 201.1 kB / 0.5797 GB, free: 136.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002733/0.8389, allocations: 2.183 MB / 0.5818 GB, free: 136.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.8389, allocations: 0 / 0.5818 GB, free: 136.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.8405, allocations: 1.237 MB / 0.583 GB, free: 136.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.8422, allocations: 340 kB / 0.5834 GB, free: 136.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007534/0.8497, allocations: 4.66 MB / 0.5879 GB, free: 135.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002479/0.8522, allocations: 2.585 MB / 0.5904 GB, free: 134.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/0.8522, allocations: 3.844 kB / 0.5904 GB, free: 134.4 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat