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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002151/0.002151, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009479/0.0009479, allocations: 82.89 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2354/0.2354, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3794/0.5234, allocations: 87.08 MB / 0.5639 GB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.5236, allocations: 65.31 kB / 0.5639 GB, free: 12.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0103/0.5339, allocations: 3.897 MB / 0.5677 GB, free: 9.281 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.534, allocations: 3.5 kB / 0.5678 GB, free: 9.281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.534, allocations: 8 kB / 0.5678 GB, free: 9.273 MB / 378.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.000889/0.5349, allocations: 0.5076 MB / 0.5683 GB, free: 8.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.535, allocations: 16.03 kB / 0.5683 GB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.288e-05/0.535, allocations: 52.17 kB / 0.5683 GB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.5351, allocations: 31.67 kB / 0.5683 GB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.5355, allocations: 243.1 kB / 0.5686 GB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.5355, allocations: 14.94 kB / 0.5686 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.5356, allocations: 22.62 kB / 0.5686 GB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.536, allocations: 190.8 kB / 0.5688 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.536, allocations: 4 kB / 0.5688 GB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.536, allocations: 18.38 kB / 0.5688 GB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.5361, allocations: 4 kB / 0.5688 GB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.5364, allocations: 147.7 kB / 0.569 GB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.5377, allocations: 0.8084 MB / 0.5698 GB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.5379, allocations: 98.86 kB / 0.5698 GB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.538, allocations: 4 kB / 0.5699 GB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.538, allocations: 38.36 kB / 0.5699 GB, free: 7.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.814e-06/0.538, allocations: 0 / 0.5699 GB, free: 7.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001786/0.5398, allocations: 0.7405 MB / 0.5706 GB, free: 6.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.5398, allocations: 51.41 kB / 0.5707 GB, free: 6.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.54, allocations: 186.4 kB / 0.5708 GB, free: 6.305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.5401, allocations: 28.58 kB / 0.5709 GB, free: 6.273 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.5402, allocations: 174.1 kB / 0.571 GB, free: 6.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.5403, allocations: 54.73 kB / 0.5711 GB, free: 6.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.5403, allocations: 7.156 kB / 0.5711 GB, free: 6.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5404, allocations: 335 kB / 0.5714 GB, free: 5.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.5406, allocations: 63.22 kB / 0.5715 GB, free: 5.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.5408, allocations: 118.4 kB / 0.5716 GB, free: 5.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.5409, allocations: 69.55 kB / 0.5717 GB, free: 5.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.541, allocations: 7.938 kB / 0.5717 GB, free: 5.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005253/0.5415, allocations: 283.9 kB / 0.5719 GB, free: 5.312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5415, allocations: 11.59 kB / 0.5719 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5415, allocations: 0 / 0.5719 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/0.5418, allocations: 74.47 kB / 0.572 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.542, allocations: 31.92 kB / 0.572 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.5444, allocations: 2.838 MB / 0.5748 GB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.5446, allocations: 11.88 kB / 0.5748 GB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.5447, allocations: 8 kB / 0.5748 GB, free: 2.301 MB / 378.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.0001818/0.5448, allocations: 142.3 kB / 0.575 GB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.5449, allocations: 27.7 kB / 0.575 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.545, allocations: 22 kB / 0.575 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.545, allocations: 0 / 0.575 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.545, allocations: 4 kB / 0.575 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.545, allocations: 3.984 kB / 0.575 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.5454, allocations: 279.4 kB / 0.5753 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5454, allocations: 0 / 0.5753 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.5455, allocations: 23.92 kB / 0.5753 GB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.5457, allocations: 70.98 kB / 0.5754 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.5457, allocations: 3.984 kB / 0.5754 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.5478, allocations: 2.821 MB / 0.5781 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5478, allocations: 0 / 0.5781 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.5485, allocations: 405.9 kB / 0.5785 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.5485, allocations: 92.94 kB / 0.5786 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.5486, allocations: 7.375 kB / 0.5786 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.5488, allocations: 19.67 kB / 0.5786 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.5488, allocations: 16.05 kB / 0.5787 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.5488, allocations: 7.938 kB / 0.5787 GB, free: 14.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.549, allocations: 153.7 kB / 0.5788 GB, free: 14.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.549, allocations: 0 / 0.5788 GB, free: 14.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.5494, allocations: 62.31 kB / 0.5789 GB, free: 14.2 MB / 394.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.0009136/0.5503, allocations: 0.9454 MB / 0.5798 GB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007057/0.551, allocations: 422.5 kB / 0.5802 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.551, allocations: 4.312 kB / 0.5802 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.5515, allocations: 319.7 kB / 0.5805 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.5517, allocations: 34.97 kB / 0.5805 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.5544, allocations: 2.144 MB / 0.5826 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.5548, allocations: 0.7557 MB / 0.5834 GB, free: 9.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.5549, allocations: 21.94 kB / 0.5834 GB, free: 9.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.555, allocations: 69.09 kB / 0.5835 GB, free: 9.727 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.555, allocations: 0 / 0.5835 GB, free: 9.727 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.5746, allocations: 4.429 MB / 0.5878 GB, free: 5.352 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.5749, allocations: 200.2 kB / 0.588 GB, free: 5.105 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.335, allocations: 0 / 0.588 GB, free: 5.105 MB / 394.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