Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007677/0.0007676, allocations: 95.34 kB / 17 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007688/0.0007689, allocations: 184.6 kB / 17.89 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.2 MB / 241.9 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 44.23 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002824/0.1412, allocations: 2.147 MB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009256/0.1421, allocations: 0.5691 MB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1423, allocations: 4 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.1424, allocations: 35.77 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1425, allocations: 63.45 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.1427, allocations: 43.95 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.143, allocations: 270.7 kB / 474.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.1432, allocations: 76.62 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1434, allocations: 91.64 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.1436, allocations: 107.5 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.1436, allocations: 12 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.215e-05/0.1436, allocations: 12 kB / 475.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.1437, allocations: 35.78 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.176e-05/0.1438, allocations: 65.64 kB / 475.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.144, allocations: 215.7 kB / 475.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.144, allocations: 0 / 475.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.144, allocations: 3.938 kB / 475.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.144, allocations: 0 / 475.4 MB, free: 9.891 MB / 350.1 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.0007404/0.1448, allocations: 0.495 MB / 475.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1448, allocations: 8.031 kB / 475.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.491e-05/0.1449, allocations: 54.55 kB / 475.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.1449, allocations: 27.62 kB / 476 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.1452, allocations: 238.7 kB / 476.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1453, allocations: 16.44 kB / 476.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.1453, allocations: 23.95 kB / 476.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.1457, allocations: 187.3 kB / 476.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1457, allocations: 4 kB / 476.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1457, allocations: 12 kB / 476.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1457, allocations: 7.938 kB / 476.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.146, allocations: 145.6 kB / 476.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.1474, allocations: 0.8103 MB / 477.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.1476, allocations: 98.47 kB / 477.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1477, allocations: 52.84 kB / 477.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1478, allocations: 4 kB / 477.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1478, allocations: 34.52 kB / 477.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.1478, allocations: 0 / 477.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001946/0.1498, allocations: 0.7515 MB / 478.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.1498, allocations: 51.41 kB / 478.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.1501, allocations: 219.7 kB / 478.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1501, allocations: 29.64 kB / 478.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1503, allocations: 171.7 kB / 478.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.1503, allocations: 51.27 kB / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.1503, allocations: 4 kB / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1505, allocations: 330.8 kB / 479.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1507, allocations: 67.97 kB / 479.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.1509, allocations: 105 kB / 479.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.1511, allocations: 82.17 kB / 479.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1511, allocations: 4 kB / 479.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005341/0.1516, allocations: 279.1 kB / 479.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1517, allocations: 8 kB / 479.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.1517, allocations: 3.953 kB / 479.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/0.152, allocations: 73.67 kB / 479.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1522, allocations: 31.92 kB / 479.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/0.1548, allocations: 2.808 MB / 482.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.155, allocations: 16.67 kB / 482.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.155, allocations: 8.062 kB / 482.6 MB, free: 2.02 MB / 350.1 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.0001915/0.1552, allocations: 145.7 kB / 482.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.1553, allocations: 23.77 kB / 482.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.1553, allocations: 21.86 kB / 482.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1553, allocations: 0 / 482.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1553, allocations: 0 / 482.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1554, allocations: 7.938 kB / 482.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.1557, allocations: 281.7 kB / 483.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1557, allocations: 8 kB / 483.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.101e-05/0.1558, allocations: 19.98 kB / 483.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001807/0.156, allocations: 69.61 kB / 483.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.156, allocations: 7.953 kB / 483.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/0.1585, allocations: 2.796 MB / 486 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1586, allocations: 0 / 486 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007604/0.1593, allocations: 396.9 kB / 486.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.1594, allocations: 96.94 kB / 486.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.1595, allocations: 7.953 kB / 486.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1597, allocations: 24.05 kB / 486.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.1598, allocations: 15.92 kB / 486.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1598, allocations: 8 kB / 486.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.16, allocations: 152.1 kB / 486.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.16, allocations: 0 / 486.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.1604, allocations: 64 kB / 486.7 MB, free: 13.54 MB / 366.1 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.001017/0.1614, allocations: 0.9324 MB / 487.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000718/0.1621, allocations: 418.5 kB / 488.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1621, allocations: 0 / 488.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.1626, allocations: 341.6 kB / 488.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.163, allocations: 27.95 kB / 488.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.1652, allocations: 1.39 MB / 489.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1655, allocations: 0.748 MB / 490.6 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.1656, allocations: 17.94 kB / 490.6 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1657, allocations: 71.34 kB / 490.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of SimCode: time 1.342e-06/0.1658, allocations: 4 kB / 490.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.1833, allocations: 4.419 MB / 495.1 MB, free: 5.168 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.1836, allocations: 211.1 kB / 495.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.069, allocations: 0 / 495.3 MB, free: 4.922 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat