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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009344/0.0009344, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4525/0.4525, allocations: 43.55 MB / 314.5 MB, free: 9 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005437/0.0005438, allocations: 16 kB / 384 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1538, allocations: 58.86 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003131/0.157, allocations: 2.024 MB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.1585, allocations: 0.6208 MB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1587, allocations: 4 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.294e-05/0.1588, allocations: 27.77 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.1591, allocations: 83.73 kB / 445.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1594, allocations: 55.86 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.1597, allocations: 195.6 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1599, allocations: 72.7 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.16, allocations: 95.64 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1602, allocations: 107.5 kB / 446.1 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.1602, allocations: 16 kB / 446.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.482e-05/0.1603, allocations: 12 kB / 446.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.1603, allocations: 39.83 kB / 446.2 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.1604, allocations: 69.58 kB / 446.2 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.1606, allocations: 199.7 kB / 446.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1606, allocations: 0 / 446.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1607, allocations: 0 / 446.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1607, allocations: 4 kB / 446.4 MB, free: 9.586 MB / 382.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.0007527/0.1614, allocations: 0.4989 MB / 446.9 MB, free: 9.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1615, allocations: 8.031 kB / 447 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.7e-05/0.1616, allocations: 58.53 kB / 447 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.1616, allocations: 27.67 kB / 447 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1619, allocations: 235.4 kB / 447.3 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.162, allocations: 16.44 kB / 447.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.162, allocations: 31.84 kB / 447.3 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.1624, allocations: 191.3 kB / 447.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1624, allocations: 0 / 447.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.1624, allocations: 11.98 kB / 447.5 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1624, allocations: 7.984 kB / 447.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.1627, allocations: 145.6 kB / 447.7 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1641, allocations: 0.8103 MB / 448.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.1643, allocations: 98.55 kB / 448.6 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1644, allocations: 3.984 kB / 448.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1644, allocations: 34.56 kB / 448.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1644, allocations: 3.938 kB / 448.6 MB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001838/0.1662, allocations: 0.7453 MB / 449.4 MB, free: 6.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.1663, allocations: 55.41 kB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.1665, allocations: 215.7 kB / 449.6 MB, free: 6.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1666, allocations: 29.7 kB / 449.6 MB, free: 6.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1667, allocations: 164 kB / 449.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.1667, allocations: 59.23 kB / 449.9 MB, free: 5.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.1668, allocations: 3.938 kB / 449.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1669, allocations: 326.8 kB / 450.2 MB, free: 5.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.1671, allocations: 71.91 kB / 450.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1673, allocations: 105.1 kB / 450.4 MB, free: 5.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.1675, allocations: 75.98 kB / 450.4 MB, free: 5.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1675, allocations: 4 kB / 450.4 MB, free: 5.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000538/0.168, allocations: 283 kB / 450.7 MB, free: 4.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.1681, allocations: 11.98 kB / 450.7 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1681, allocations: 0 / 450.7 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/0.1683, allocations: 65.69 kB / 450.8 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1685, allocations: 39.91 kB / 450.8 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/0.1714, allocations: 2.835 MB / 453.7 MB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.1715, allocations: 24.03 kB / 453.7 MB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.1716, allocations: 4 kB / 453.7 MB, free: 1.73 MB / 382.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.0001596/0.1717, allocations: 141.7 kB / 453.8 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.1718, allocations: 15.81 kB / 453.8 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.1718, allocations: 25.86 kB / 453.9 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1719, allocations: 4 kB / 453.9 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1719, allocations: 0 / 453.9 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1719, allocations: 0 / 453.9 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.1722, allocations: 293.5 kB / 454.2 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1722, allocations: 384 / 454.2 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.464e-05/0.1723, allocations: 20.22 kB / 454.2 MB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001808/0.1725, allocations: 69.66 kB / 454.3 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1726, allocations: 8 kB / 454.3 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.274/0.4465, allocations: 2.805 MB / 457.1 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4466, allocations: 4.109 kB / 457.1 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006671/0.4473, allocations: 404.9 kB / 457.5 MB, free: 44.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.4473, allocations: 96.7 kB / 457.6 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.4474, allocations: 5.125 kB / 457.6 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.4476, allocations: 20.94 kB / 457.6 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.4476, allocations: 18.84 kB / 457.6 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.4477, allocations: 6.281 kB / 457.6 MB, free: 43.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.4478, allocations: 152.5 kB / 457.8 MB, free: 43.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4478, allocations: 0 / 457.8 MB, free: 43.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003896/0.4482, allocations: 64.22 kB / 457.8 MB, free: 43.88 MB / 382.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.0007894/0.449, allocations: 0.9354 MB / 458.8 MB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006123/0.4496, allocations: 415.6 kB / 459.2 MB, free: 43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4496, allocations: 3.25 kB / 459.2 MB, free: 43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.45, allocations: 336.1 kB / 459.5 MB, free: 42.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.4503, allocations: 27.89 kB / 459.5 MB, free: 42.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.4525, allocations: 2.155 MB / 461.7 MB, free: 41.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.4527, allocations: 0.7531 MB / 462.4 MB, free: 40.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.237e-05/0.4528, allocations: 20.03 kB / 462.4 MB, free: 40.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.344e-05/0.4529, allocations: 64.58 kB / 462.5 MB, free: 40.71 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.453, allocations: 0 / 462.5 MB, free: 40.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.4713, allocations: 4.416 MB / 466.9 MB, free: 40.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.4715, allocations: 194.6 kB / 467.1 MB, free: 40.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/2.546, allocations: 0 / 467.1 MB, free: 40.06 MB / 382.1 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) Environment - environmentSimulation: 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