Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 117.8 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001743/0.001743, allocations: 208.9 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2442/0.2442, allocations: 46.89 MB / 357.4 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 79.86 kB / 0.4912 GB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1508, allocations: 65.98 MB / 0.5556 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003965/0.1547, allocations: 2.592 MB / 0.5582 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1559, allocations: 0.6777 MB / 0.5588 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.156, allocations: 4 kB / 0.5588 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.1562, allocations: 39.58 kB / 0.5589 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.1563, allocations: 79.33 kB / 0.5589 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.1566, allocations: 75.84 kB / 0.559 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.157, allocations: 290.8 kB / 0.5593 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.1572, allocations: 72.36 kB / 0.5594 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.1574, allocations: 115.6 kB / 0.5595 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1576, allocations: 119.5 kB / 0.5596 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.1577, allocations: 27.94 kB / 0.5596 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.1577, allocations: 27.94 kB / 0.5596 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.1578, allocations: 55.83 kB / 0.5597 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1579, allocations: 127.4 kB / 0.5598 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.1582, allocations: 290.8 kB / 0.5601 GB, free: 1.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1583, allocations: 4 kB / 0.5601 GB, free: 1.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1583, allocations: 0 / 0.5601 GB, free: 1.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1583, allocations: 0 / 0.5601 GB, free: 1.898 MB / 414.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.0009235/0.1592, allocations: 0.5416 MB / 0.5606 GB, free: 1.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1592, allocations: 12.03 kB / 0.5606 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.31e-05/0.1593, allocations: 58.73 kB / 0.5607 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.1595, allocations: 36.78 kB / 0.5607 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.1599, allocations: 255.8 kB / 0.561 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.1599, allocations: 16.81 kB / 0.561 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.1599, allocations: 16.38 kB / 0.561 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.1603, allocations: 199.4 kB / 0.5612 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1603, allocations: 0 / 0.5612 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.1603, allocations: 15.98 kB / 0.5612 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1603, allocations: 4 kB / 0.5612 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.1606, allocations: 137.7 kB / 0.5613 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.1619, allocations: 0.8066 MB / 0.5621 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.1621, allocations: 94.48 kB / 0.5622 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.429e-05/0.1622, allocations: 44.84 kB / 0.5623 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1622, allocations: 4 kB / 0.5623 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.1623, allocations: 38.67 kB / 0.5623 GB, free: 15.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1623, allocations: 0 / 0.5623 GB, free: 15.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001821/0.1641, allocations: 0.7163 MB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1641, allocations: 63.34 kB / 0.5631 GB, free: 14.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1644, allocations: 211 kB / 0.5633 GB, free: 14.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1644, allocations: 29.7 kB / 0.5633 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1645, allocations: 168.1 kB / 0.5634 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.1645, allocations: 55.52 kB / 0.5635 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.1646, allocations: 49.75 kB / 0.5635 GB, free: 14.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1648, allocations: 334.7 kB / 0.5639 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.1649, allocations: 59.97 kB / 0.5639 GB, free: 13.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.1651, allocations: 101.1 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.1654, allocations: 169.1 kB / 0.5642 GB, free: 13.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1654, allocations: 0 / 0.5642 GB, free: 13.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000527/0.1659, allocations: 281 kB / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1659, allocations: 12.16 kB / 0.5645 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1659, allocations: 0 / 0.5645 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.1662, allocations: 81.61 kB / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.1663, allocations: 27.98 kB / 0.5646 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/0.1691, allocations: 3.022 MB / 0.5675 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1693, allocations: 8.219 kB / 0.5675 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.1693, allocations: 16 kB / 0.5675 GB, free: 9.621 MB / 430.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.1695, allocations: 137.8 kB / 0.5677 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.1695, allocations: 27.83 kB / 0.5677 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.1696, allocations: 21.88 kB / 0.5677 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1696, allocations: 0 / 0.5677 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.1696, allocations: 4 kB / 0.5677 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1696, allocations: 0 / 0.5677 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.1699, allocations: 293.4 kB / 0.568 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1699, allocations: 0 / 0.568 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.17, allocations: 19.98 kB / 0.568 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.1702, allocations: 65.67 kB / 0.5681 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1702, allocations: 0 / 0.5681 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003013/0.1732, allocations: 3.017 MB / 0.571 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1732, allocations: 4.031 kB / 0.571 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007275/0.174, allocations: 394.2 kB / 0.5714 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.1741, allocations: 101 kB / 0.5715 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1741, allocations: 0 / 0.5715 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.1743, allocations: 19.98 kB / 0.5715 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.1744, allocations: 12.12 kB / 0.5715 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1744, allocations: 12.05 kB / 0.5715 GB, free: 5.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.1745, allocations: 152.6 kB / 0.5717 GB, free: 4.984 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1745, allocations: 0 / 0.5717 GB, free: 4.984 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004685/0.175, allocations: 64 kB / 0.5718 GB, free: 4.922 MB / 430.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/0.176, allocations: 0.9265 MB / 0.5727 GB, free: 3.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.1767, allocations: 397.3 kB / 0.573 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1767, allocations: 0 / 0.573 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.1772, allocations: 321.2 kB / 0.5733 GB, free: 3.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1775, allocations: 35.91 kB / 0.5734 GB, free: 3.172 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.1811, allocations: 2.486 MB / 0.5758 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1815, allocations: 0.7479 MB / 0.5765 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.975e-05/0.1816, allocations: 21.95 kB / 0.5766 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.1817, allocations: 67.41 kB / 0.5766 GB, free: 15.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.1817, allocations: 0 / 0.5766 GB, free: 15.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.2191, allocations: 5.073 MB / 0.5816 GB, free: 10.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.809/10.03, allocations: 3.859 kB / 0.5816 GB, free: 10.76 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.388132407329977] Failed to read output from testmodel.py, exit status != 0: 10.115241502877325 10.378023931 10.216318657 Calling exit ...