Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",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.00114/0.00114, allocations: 188.5 kB / 7.801 MB, free: 2.496 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.523/1.523, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009741/0.0009741, allocations: 91.38 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.232/0.232, allocations: 43.5 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2501/0.4821, allocations: 64.95 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.9113, allocations: 58.84 MB / 476.6 MB, free: 5.16 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/1.071, allocations: 86.26 MB / 0.5497 GB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/1.072, allocations: 67.14 kB / 0.5498 GB, free: 12.57 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.01191/1.084, allocations: 4.075 MB / 0.5538 GB, free: 8.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.084, allocations: 8 kB / 0.5538 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/1.084, allocations: 31.72 kB / 0.5538 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/1.084, allocations: 255 kB / 0.554 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/1.084, allocations: 4 kB / 0.554 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/1.084, allocations: 12 kB / 0.554 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002705/1.085, allocations: 120.8 kB / 0.5542 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/1.085, allocations: 154 kB / 0.5543 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/1.085, allocations: 0 / 0.5543 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/1.085, allocations: 3.906 kB / 0.5543 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/1.085, allocations: 4 kB / 0.5543 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/1.087, allocations: 0.7671 MB / 0.5551 GB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/1.087, allocations: 53.62 kB / 0.5551 GB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/1.087, allocations: 36.86 kB / 0.5552 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/1.087, allocations: 4 kB / 0.5552 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/1.087, allocations: 38.73 kB / 0.5552 GB, free: 6.836 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.287e-05/1.087, allocations: 0 / 0.5552 GB, free: 6.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001598/1.089, allocations: 0.6041 MB / 0.5558 GB, free: 6.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/1.089, allocations: 51.41 kB / 0.5558 GB, free: 6.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/1.089, allocations: 169.8 kB / 0.556 GB, free: 5.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/1.089, allocations: 25.7 kB / 0.556 GB, free: 5.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.089, allocations: 159.9 kB / 0.5562 GB, free: 5.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/1.089, allocations: 59.09 kB / 0.5562 GB, free: 5.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-06/1.089, allocations: 0 / 0.5562 GB, free: 5.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/1.089, allocations: 326.8 kB / 0.5565 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/1.089, allocations: 44 kB / 0.5566 GB, free: 5.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/1.089, allocations: 87.98 kB / 0.5567 GB, free: 5.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/1.09, allocations: 71.31 kB / 0.5567 GB, free: 5.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/1.09, allocations: 0 / 0.5567 GB, free: 5.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004266/1.09, allocations: 235.1 kB / 0.557 GB, free: 4.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/1.09, allocations: 8 kB / 0.557 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.09, allocations: 0 / 0.557 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/1.09, allocations: 61.69 kB / 0.557 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/1.091, allocations: 43.91 kB / 0.5571 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/1.093, allocations: 2.653 MB / 0.5597 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/1.093, allocations: 16.05 kB / 0.5597 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/1.093, allocations: 8.062 kB / 0.5597 GB, free: 1.875 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001368/1.093, allocations: 110.3 kB / 0.5598 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/1.093, allocations: 16.59 kB / 0.5598 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/1.093, allocations: 21.58 kB / 0.5598 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.093, allocations: 7.938 kB / 0.5598 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/1.094, allocations: 8 kB / 0.5598 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/1.094, allocations: 7.844 kB / 0.5598 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/1.094, allocations: 242.1 kB / 0.5601 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.094, allocations: 0 / 0.5601 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/1.094, allocations: 19.98 kB / 0.5601 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/1.094, allocations: 65.67 kB / 0.5602 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/1.094, allocations: 4.047 kB / 0.5602 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/1.096, allocations: 2.661 MB / 0.5628 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.096, allocations: 0 / 0.5628 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004955/1.097, allocations: 340.9 kB / 0.5631 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006856/1.097, allocations: 0.7784 MB / 0.5638 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/1.098, allocations: 93.05 kB / 0.5639 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/1.098, allocations: 0 / 0.5639 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/1.098, allocations: 20.05 kB / 0.564 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/1.098, allocations: 11.97 kB / 0.564 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/1.098, allocations: 11.91 kB / 0.564 GB, free: 13.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001101/1.098, allocations: 131.3 kB / 0.5641 GB, free: 13.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009261/1.099, allocations: 56 kB / 0.5642 GB, free: 12.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001525/1.099, allocations: 99.23 kB / 0.5642 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005852/1.1, allocations: 351.4 kB / 0.5646 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.1, allocations: 0 / 0.5646 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/1.1, allocations: 279.8 kB / 0.5648 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/1.1, allocations: 16.47 kB / 0.5649 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008566/1.101, allocations: 344.6 kB / 0.5652 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/1.101, allocations: 0.769 MB / 0.5659 GB, free: 11.01 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/1.102, allocations: 0 / 0.5659 GB, free: 11.01 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat