Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002349/0.002354, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001145/0.001145, allocations: 91.41 kB / 270.9 MB, free: 8.379 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.5069/0.5069, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004746, allocations: 12 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1254, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5191/0.6445, allocations: 87.07 MB / 0.5638 GB, free: 15.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.6448, allocations: 67.97 kB / 0.5639 GB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01823/0.6631, allocations: 3.9 MB / 0.5677 GB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.6632, allocations: 0 / 0.5677 GB, free: 11.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.6632, allocations: 4 kB / 0.5677 GB, free: 11.39 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.00113/0.6643, allocations: 0.5142 MB / 0.5682 GB, free: 10.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.6644, allocations: 12.03 kB / 0.5682 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.449e-05/0.6645, allocations: 54.55 kB / 0.5683 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.6646, allocations: 31.16 kB / 0.5683 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.6651, allocations: 239 kB / 0.5685 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.6651, allocations: 20.44 kB / 0.5686 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.6652, allocations: 16 kB / 0.5686 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.6658, allocations: 195.2 kB / 0.5688 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.6658, allocations: 0 / 0.5688 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.992e-05/0.6659, allocations: 16.16 kB / 0.5688 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.6659, allocations: 4 kB / 0.5688 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/0.6664, allocations: 149.7 kB / 0.5689 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.6685, allocations: 0.8191 MB / 0.5697 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.6689, allocations: 98.55 kB / 0.5698 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.6689, allocations: 0 / 0.5698 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.669, allocations: 41.83 kB / 0.5699 GB, free: 9.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/0.669, allocations: 4 kB / 0.5699 GB, free: 9.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.002883/0.6719, allocations: 0.7343 MB / 0.5706 GB, free: 8.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.672, allocations: 55.41 kB / 0.5706 GB, free: 8.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.6723, allocations: 187.2 kB / 0.5708 GB, free: 7.969 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.6723, allocations: 29.7 kB / 0.5708 GB, free: 7.934 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.6725, allocations: 230.2 kB / 0.5711 GB, free: 7.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/0.6726, allocations: 67.03 kB / 0.5711 GB, free: 7.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.6726, allocations: 3.938 kB / 0.5711 GB, free: 7.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6727, allocations: 318.8 kB / 0.5714 GB, free: 7.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.673, allocations: 67.97 kB / 0.5715 GB, free: 7.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.6733, allocations: 108.2 kB / 0.5716 GB, free: 7.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.6737, allocations: 75.98 kB / 0.5717 GB, free: 7.055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/0.6737, allocations: 4 kB / 0.5717 GB, free: 7.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009763/0.6747, allocations: 279.9 kB / 0.5719 GB, free: 6.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.6747, allocations: 6.969 kB / 0.572 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.6747, allocations: 4 kB / 0.572 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004091/0.6752, allocations: 65.67 kB / 0.572 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.6755, allocations: 39.98 kB / 0.5721 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00383/0.6793, allocations: 2.833 MB / 0.5748 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.6797, allocations: 20.05 kB / 0.5748 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.6798, allocations: 4 kB / 0.5748 GB, free: 3.527 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 () * Number of clocked 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.0002445/0.68, allocations: 141.7 kB / 0.575 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.6801, allocations: 15.81 kB / 0.575 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.968e-05/0.6802, allocations: 25.86 kB / 0.575 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.6802, allocations: 4 kB / 0.575 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.6802, allocations: 0 / 0.575 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6802, allocations: 240 / 0.575 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005106/0.6807, allocations: 293.5 kB / 0.5753 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.6808, allocations: 0.7656 kB / 0.5753 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.681, allocations: 19.97 kB / 0.5753 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003736/0.6814, allocations: 65.67 kB / 0.5754 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.6814, allocations: 4 kB / 0.5754 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003679/0.6851, allocations: 2.816 MB / 0.5781 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.6852, allocations: 3.984 kB / 0.5781 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.6864, allocations: 420.7 kB / 0.5785 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.6866, allocations: 89.83 kB / 0.5786 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.6867, allocations: 4 kB / 0.5786 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.687, allocations: 24.05 kB / 0.5787 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6871, allocations: 15.97 kB / 0.5787 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.6872, allocations: 4 kB / 0.5787 GB, free: 15.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002538/0.6874, allocations: 157.5 kB / 0.5788 GB, free: 15.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6875, allocations: 0 / 0.5788 GB, free: 15.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005661/0.688, allocations: 64 kB / 0.5789 GB, free: 15.01 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 () * Number of clocked 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.001735/0.6898, allocations: 0.9378 MB / 0.5798 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.6911, allocations: 419.6 kB / 0.5802 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6911, allocations: 4 kB / 0.5802 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007584/0.6919, allocations: 340 kB / 0.5805 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.6924, allocations: 33.45 kB / 0.5806 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.6963, allocations: 2.161 MB / 0.5827 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.6968, allocations: 0.7518 MB / 0.5834 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.697, allocations: 71.41 kB / 0.5835 GB, free: 10.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.697, allocations: 224 / 0.5835 GB, free: 10.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.839/3.536, allocations: 5.376 MB / 0.5887 GB, free: 4.777 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat