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.001261/0.001261, allocations: 92 kB / 16.98 MB, free: 5.938 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.001382/0.001382, allocations: 182.6 kB / 17.87 MB, free: 5.598 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.423/1.423, allocations: 223.2 MB / 241.8 MB, free: 388 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.2355/0.2355, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005071, allocations: 11.06 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.148, allocations: 61.92 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00273/0.1508, allocations: 2.05 MB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.1518, allocations: 0.5809 MB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1519, allocations: 8 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.341e-05/0.152, allocations: 31.77 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.1522, allocations: 87.73 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.1525, allocations: 47.88 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.1528, allocations: 199.6 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.153, allocations: 64.67 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.1531, allocations: 95.62 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1533, allocations: 107.5 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.1533, allocations: 12 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.733e-05/0.1534, allocations: 12 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.1534, allocations: 43.83 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.1535, allocations: 65.58 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1537, allocations: 211.7 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1537, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1537, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1537, allocations: 0 / 475.1 MB, free: 10.05 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.0007466/0.1545, allocations: 498.9 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.1546, allocations: 12.02 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.207e-05/0.1546, allocations: 62.53 kB / 475.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.1547, allocations: 27.62 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.155, allocations: 234.7 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.155, allocations: 16.44 kB / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.1551, allocations: 19.95 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.1554, allocations: 199.3 kB / 476.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1555, allocations: 3.938 kB / 476.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.1555, allocations: 8 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1555, allocations: 11.94 kB / 476.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.1558, allocations: 137.7 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.1571, allocations: 0.8143 MB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1573, allocations: 102.5 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.1573, allocations: 0 / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1573, allocations: 38.52 kB / 477.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1573, allocations: 0 / 477.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001677/0.159, allocations: 0.7526 MB / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1591, allocations: 55.41 kB / 478.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1593, allocations: 211.7 kB / 478.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1593, allocations: 29.7 kB / 478.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1594, allocations: 167.7 kB / 478.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.1595, allocations: 51.25 kB / 478.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.1595, allocations: 8 kB / 478.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1596, allocations: 326.8 kB / 478.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1597, allocations: 59.97 kB / 478.9 MB, free: 5.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.1599, allocations: 117 kB / 479 MB, free: 5.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1601, allocations: 79.94 kB / 479.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1601, allocations: 0 / 479.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004973/0.1606, allocations: 289.1 kB / 479.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1606, allocations: 4 kB / 479.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.1606, allocations: 0 / 479.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002256/0.1609, allocations: 77.61 kB / 479.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.161, allocations: 31.92 kB / 479.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.1631, allocations: 2.832 MB / 482.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.1633, allocations: 12.02 kB / 482.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1633, allocations: 12 kB / 482.4 MB, free: 2.203 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.0001406/0.1635, allocations: 137.8 kB / 482.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.1635, allocations: 27.75 kB / 482.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.1636, allocations: 25.86 kB / 482.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1636, allocations: 0 / 482.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1636, allocations: 4 kB / 482.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1636, allocations: 0 / 482.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.1639, allocations: 281.5 kB / 482.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1639, allocations: 0 / 482.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.164, allocations: 31.86 kB / 482.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001789/0.1642, allocations: 65.67 kB / 482.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.1642, allocations: 7.953 kB / 482.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.1663, allocations: 2.82 MB / 485.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1663, allocations: 0 / 485.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.1669, allocations: 395.3 kB / 486.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.167, allocations: 97.59 kB / 486.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.167, allocations: 4 kB / 486.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.1672, allocations: 28 kB / 486.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.1673, allocations: 19.91 kB / 486.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1673, allocations: 8 kB / 486.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1674, allocations: 148.2 kB / 486.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1674, allocations: 0 / 486.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000353/0.1678, allocations: 67.94 kB / 486.5 MB, free: 13.7 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.0009241/0.1687, allocations: 0.9309 MB / 487.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006154/0.1693, allocations: 421.1 kB / 487.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1694, allocations: 4 kB / 487.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.1698, allocations: 325.3 kB / 488.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.17, allocations: 36.25 kB / 488.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.1723, allocations: 2.137 MB / 490.3 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1727, allocations: 0.7556 MB / 491.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.988e-05/0.1728, allocations: 21.94 kB / 491.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/0.1729, allocations: 67.41 kB / 491.2 MB, free: 8.828 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1729, allocations: 0 / 491.2 MB, free: 8.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.1889, allocations: 4.401 MB / 495.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.1891, allocations: 200.9 kB / 495.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.01, allocations: 3.938 kB / 495.8 MB, free: 4.352 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