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.001734/0.001739, allocations: 187.5 kB / 16.4 MB, free: 5.625 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.236/2.236, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001215/0.001215, allocations: 94.86 kB / 270.9 MB, free: 13.38 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.3132/0.3132, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004899, allocations: 16 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1285, allocations: 58.86 MB / 490.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003445/0.132, allocations: 2.016 MB / 492.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1335, allocations: 0.6208 MB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.1337, allocations: 8 kB / 493 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 7.901e-05/0.1338, allocations: 27.77 kB / 493 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.1341, allocations: 83.75 kB / 493.1 MB, free: 6.477 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1344, allocations: 47.88 kB / 493.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.1348, allocations: 203.5 kB / 493.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.135, allocations: 72.72 kB / 493.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.1352, allocations: 95.62 kB / 493.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.1354, allocations: 103.5 kB / 493.6 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.1355, allocations: 12 kB / 493.6 MB, free: 5.949 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-05/0.1356, allocations: 12 kB / 493.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.1356, allocations: 43.83 kB / 493.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.799e-05/0.1357, allocations: 69.58 kB / 493.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.136, allocations: 195.7 kB / 493.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1361, allocations: 4 kB / 493.9 MB, free: 5.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1361, allocations: 0 / 493.9 MB, free: 5.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.1361, allocations: 0 / 493.9 MB, free: 5.625 MB / 330.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.001003/0.1371, allocations: 0.4989 MB / 494.4 MB, free: 5.078 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.1372, allocations: 8.031 kB / 494.4 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.514e-05/0.1372, allocations: 54.55 kB / 494.5 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.1373, allocations: 27.67 kB / 494.5 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.1377, allocations: 242.6 kB / 494.7 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.1377, allocations: 16.44 kB / 494.7 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.1378, allocations: 16 kB / 494.8 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.1384, allocations: 195.2 kB / 495 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1384, allocations: 4 kB / 495 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.1384, allocations: 8 kB / 495 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1385, allocations: 8 kB / 495 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004749/0.1389, allocations: 141.7 kB / 495.1 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.1409, allocations: 0.8142 MB / 495.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.1413, allocations: 102.5 kB / 496 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1413, allocations: 0 / 496 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.1413, allocations: 38.55 kB / 496.1 MB, free: 3.273 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.1414, allocations: 0 / 496.1 MB, free: 3.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.002807/0.1442, allocations: 0.7493 MB / 496.8 MB, free: 2.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1443, allocations: 51.41 kB / 496.9 MB, free: 2.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.1446, allocations: 207.8 kB / 497.1 MB, free: 2.188 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.1446, allocations: 33.8 kB / 497.1 MB, free: 2.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1448, allocations: 238.2 kB / 497.3 MB, free: 1.914 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.1449, allocations: 55.19 kB / 497.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.1449, allocations: 4 kB / 497.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.145, allocations: 318.8 kB / 497.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.1453, allocations: 63.97 kB / 497.8 MB, free: 1.473 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.1456, allocations: 117 kB / 497.9 MB, free: 1.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.1459, allocations: 79.59 kB / 498 MB, free: 1.266 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1459, allocations: 0 / 498 MB, free: 1.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008868/0.1468, allocations: 283.1 kB / 498.2 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1468, allocations: 4 kB / 498.2 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.1468, allocations: 4 kB / 498.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/0.1472, allocations: 65.67 kB / 498.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.1475, allocations: 35.92 kB / 498.3 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/0.1508, allocations: 2.839 MB / 0.4894 GB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.1511, allocations: 11.98 kB / 0.4894 GB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.1512, allocations: 8 kB / 0.4894 GB, free: 13.74 MB / 346.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.000212/0.1514, allocations: 141.9 kB / 0.4896 GB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.1515, allocations: 15.81 kB / 0.4896 GB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.1515, allocations: 21.86 kB / 0.4896 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1515, allocations: 7.938 kB / 0.4896 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1516, allocations: 0 / 0.4896 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1516, allocations: 0 / 0.4896 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.152, allocations: 297.4 kB / 0.4899 GB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.152, allocations: 384 / 0.4899 GB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.1522, allocations: 19.98 kB / 0.4899 GB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000328/0.1526, allocations: 69.67 kB / 0.49 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.1526, allocations: 4 kB / 0.49 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/0.1558, allocations: 2.812 MB / 0.4927 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1559, allocations: 4.031 kB / 0.4928 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.157, allocations: 419.4 kB / 0.4932 GB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.223e-05/0.1571, allocations: 88.95 kB / 0.4932 GB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.1572, allocations: 4 kB / 0.4932 GB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.1575, allocations: 27.98 kB / 0.4933 GB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/0.1576, allocations: 23.91 kB / 0.4933 GB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.1576, allocations: 4 kB / 0.4933 GB, free: 9.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002034/0.1578, allocations: 153.5 kB / 0.4934 GB, free: 9.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1579, allocations: 0 / 0.4934 GB, free: 9.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005079/0.1584, allocations: 60 kB / 0.4935 GB, free: 9.223 MB / 346.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.001375/0.1598, allocations: 0.9364 MB / 0.4944 GB, free: 8.254 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.1608, allocations: 421.3 kB / 0.4948 GB, free: 7.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1609, allocations: 3.938 kB / 0.4948 GB, free: 7.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007135/0.1616, allocations: 329.3 kB / 0.4951 GB, free: 7.465 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.1621, allocations: 28.11 kB / 0.4952 GB, free: 7.438 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.1659, allocations: 2.168 MB / 0.4973 GB, free: 5.199 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.1664, allocations: 0.7557 MB / 0.498 GB, free: 4.418 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.1666, allocations: 67.41 kB / 0.4981 GB, free: 4.355 MB / 346.7 MB Notification: Performance of SimCode: time 1.412e-06/0.1666, allocations: 0 / 0.4981 GB, free: 4.355 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.063/3.229, allocations: 5.376 MB / 0.5033 GB, free: 14.98 MB / 362.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