Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",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.007695/0.007695, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.001319/0.001319, allocations: 187.9 kB / 16.67 MB, free: 5.934 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8895/0.8895, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.83 kB / 0.5857 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1508, allocations: 81.03 MB / 0.6649 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002799/0.1537, allocations: 1.434 MB / 0.6663 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007087/0.1544, allocations: 383.5 kB / 0.6666 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.1544, allocations: 0 / 0.6666 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.1545, allocations: 0 / 0.6666 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.924e-05/0.1545, allocations: 7.938 kB / 0.6666 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.1549, allocations: 111.7 kB / 0.6667 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.642e-05/0.155, allocations: 27.92 kB / 0.6668 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.1551, allocations: 3.984 kB / 0.6668 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.968e-05/0.1551, allocations: 11.94 kB / 0.6668 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.915e-05/0.1552, allocations: 11.98 kB / 0.6668 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1552, allocations: 4 kB / 0.6668 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.1556, allocations: 279.6 kB / 0.6671 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.1556, allocations: 11.92 kB / 0.6671 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.1557, allocations: 11.94 kB / 0.6671 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1559, allocations: 107.8 kB / 0.6672 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1559, allocations: 4 kB / 0.6672 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1559, allocations: 0 / 0.6672 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1559, allocations: 0 / 0.6672 GB, free: 3.227 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005778/0.1565, allocations: 369.2 kB / 0.6676 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1565, allocations: 9.109 kB / 0.6676 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.1566, allocations: 34.75 kB / 0.6676 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.1566, allocations: 4.938 kB / 0.6676 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.1568, allocations: 168.3 kB / 0.6678 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1568, allocations: 4.375 kB / 0.6678 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.1568, allocations: 4.375 kB / 0.6678 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.157, allocations: 54.22 kB / 0.6678 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.157, allocations: 3.938 kB / 0.6678 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.157, allocations: 0 / 0.6678 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.157, allocations: 0 / 0.6678 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1572, allocations: 39.91 kB / 0.6679 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.1576, allocations: 249 kB / 0.6681 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1577, allocations: 38.5 kB / 0.6681 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.1578, allocations: 28.91 kB / 0.6682 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007658/0.1586, allocations: 457.5 kB / 0.6686 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.1586, allocations: 38.56 kB / 0.6686 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1586, allocations: 7.938 kB / 0.6686 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003632/0.159, allocations: 77.64 kB / 0.6687 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.1591, allocations: 55.34 kB / 0.6688 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/0.1591, allocations: 105.8 kB / 0.6689 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1592, allocations: 29.7 kB / 0.6689 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.1592, allocations: 84.09 kB / 0.669 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.1592, allocations: 12.08 kB / 0.669 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.1593, allocations: 13.72 kB / 0.669 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1595, allocations: 314.8 kB / 0.6693 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.1596, allocations: 19.98 kB / 0.6693 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.1596, allocations: 12.23 kB / 0.6693 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.1598, allocations: 48.83 kB / 0.6694 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.1598, allocations: 7.938 kB / 0.6694 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002296/0.1601, allocations: 65.66 kB / 0.6695 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1601, allocations: 4 kB / 0.6695 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1601, allocations: 4 kB / 0.6695 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1601, allocations: 0 / 0.6695 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.1602, allocations: 7.984 kB / 0.6695 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1602, allocations: 4.016 kB / 0.6695 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.1603, allocations: 11.98 kB / 0.6695 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1603, allocations: 0 / 0.6695 GB, free: 0.5625 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.1604, allocations: 117.7 kB / 0.6696 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.1604, allocations: 4 kB / 0.6696 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.1606, allocations: 73.12 kB / 0.6697 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1606, allocations: 0 / 0.6697 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1607, allocations: 4.031 kB / 0.6697 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1607, allocations: 4 kB / 0.6697 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.1609, allocations: 169.5 kB / 0.6698 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1609, allocations: 0 / 0.6698 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/0.161, allocations: 7.984 kB / 0.6698 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.161, allocations: 4 kB / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.161, allocations: 0 / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.161, allocations: 0 / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.161, allocations: 0 / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.1613, allocations: 171.5 kB / 0.67 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.1613, allocations: 81.11 kB / 0.6701 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.1614, allocations: 4 kB / 0.6701 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.1614, allocations: 7.984 kB / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.1615, allocations: 3.828 kB / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1615, allocations: 0 / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.1615, allocations: 95.3 kB / 0.6702 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1615, allocations: 0 / 0.6702 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002274/0.1618, allocations: 12 kB / 0.6702 GB, free: 15.72 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007194/0.1625, allocations: 0.7124 MB / 0.6709 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1627, allocations: 39.89 kB / 0.6709 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1627, allocations: 0 / 0.6709 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/0.1628, allocations: 19.98 kB / 0.671 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.1631, allocations: 5.719 kB / 0.671 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.1635, allocations: 142.7 kB / 0.6711 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1639, allocations: 0.6768 MB / 0.6718 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.343e-05/0.1639, allocations: 4 kB / 0.6718 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.1639, allocations: 11.44 kB / 0.6718 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1639, allocations: 0 / 0.6718 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.186, allocations: 1.59 MB / 0.6733 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.057, allocations: 3.812 kB / 0.6733 GB, free: 12.5 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)