Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",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.007588/0.007588, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.002025/0.002025, allocations: 193.7 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8478/0.8478, allocations: 135.6 MB / 426.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 69.61 kB / 0.5857 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1633, allocations: 81.03 MB / 0.6649 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.00274/0.1661, allocations: 1.435 MB / 0.6663 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003536/0.1665, allocations: 100.5 kB / 0.6664 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.1665, allocations: 0 / 0.6664 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.1666, allocations: 7.938 kB / 0.6664 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.1666, allocations: 0 / 0.6664 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.1669, allocations: 23.91 kB / 0.6664 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.267e-05/0.167, allocations: 23.92 kB / 0.6664 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1671, allocations: 7.984 kB / 0.6664 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.302e-05/0.1672, allocations: 11.94 kB / 0.6664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.1672, allocations: 11.98 kB / 0.6664 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1672, allocations: 4 kB / 0.6664 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7e-05/0.1673, allocations: 11.98 kB / 0.6665 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.1673, allocations: 7.938 kB / 0.6665 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.1674, allocations: 15.92 kB / 0.6665 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1675, allocations: 40.11 kB / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.1676, allocations: 0 / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1676, allocations: 0 / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.1676, allocations: 0 / 0.6665 GB, free: 3.918 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.0005854/0.1682, allocations: 343.4 kB / 0.6668 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.1682, allocations: 9.109 kB / 0.6669 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.04e-05/0.1683, allocations: 30.75 kB / 0.6669 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.1685, allocations: 16.91 kB / 0.6669 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1686, allocations: 168.3 kB / 0.6671 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.1687, allocations: 8.312 kB / 0.6671 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.1687, allocations: 384 / 0.6671 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.1689, allocations: 66.16 kB / 0.6671 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1689, allocations: 3.938 kB / 0.6671 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1689, allocations: 0 / 0.6671 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1689, allocations: 3.984 kB / 0.6671 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.1692, allocations: 47.95 kB / 0.6672 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.1696, allocations: 261 kB / 0.6674 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1698, allocations: 58.42 kB / 0.6675 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.1699, allocations: 28.89 kB / 0.6675 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1699, allocations: 4 kB / 0.6675 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.17, allocations: 34.56 kB / 0.6676 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.051e-06/0.17, allocations: 0 / 0.6676 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000418/0.1704, allocations: 97.62 kB / 0.6677 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.1705, allocations: 51.41 kB / 0.6677 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.578e-05/0.1706, allocations: 110.2 kB / 0.6678 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1706, allocations: 25.7 kB / 0.6678 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.1707, allocations: 92.09 kB / 0.6679 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.1707, allocations: 3.953 kB / 0.6679 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.1707, allocations: 13.72 kB / 0.6679 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1709, allocations: 318.8 kB / 0.6682 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.171, allocations: 23.97 kB / 0.6683 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1711, allocations: 32.03 kB / 0.6683 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.1713, allocations: 52.75 kB / 0.6683 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1713, allocations: 3.938 kB / 0.6683 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002426/0.1716, allocations: 81.72 kB / 0.6684 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1716, allocations: 5.719 kB / 0.6684 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1716, allocations: 0 / 0.6684 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1716, allocations: 0 / 0.6684 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1717, allocations: 11.98 kB / 0.6684 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1717, allocations: 3.938 kB / 0.6684 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.264e-05/0.1718, allocations: 11.92 kB / 0.6685 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1718, allocations: 0 / 0.6685 GB, free: 1.703 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 0.0001109/0.1719, allocations: 121.8 kB / 0.6686 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.172, allocations: 3.984 kB / 0.6686 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.172, allocations: 7.531 kB / 0.6686 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.172, allocations: 0 / 0.6686 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.172, allocations: 0 / 0.6686 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.172, allocations: 0 / 0.6686 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.1722, allocations: 169.6 kB / 0.6687 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1722, allocations: 0 / 0.6687 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.1723, allocations: 7.984 kB / 0.6688 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1723, allocations: 7.938 kB / 0.6688 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1723, allocations: 4 kB / 0.6688 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1723, allocations: 0 / 0.6688 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1724, allocations: 0 / 0.6688 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.1727, allocations: 179.4 kB / 0.6689 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.1727, allocations: 81.05 kB / 0.669 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1727, allocations: 8.031 kB / 0.669 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.1728, allocations: 11.98 kB / 0.669 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.1729, allocations: 0 / 0.669 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1729, allocations: 0 / 0.669 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.828e-05/0.1729, allocations: 87.27 kB / 0.6691 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.173, allocations: 0 / 0.6691 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002176/0.1732, allocations: 12 kB / 0.6691 GB, free: 0.9219 MB / 0.4981 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.0006965/0.1739, allocations: 0.7046 MB / 0.6698 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.1742, allocations: 55.89 kB / 0.6699 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1742, allocations: 4.094 kB / 0.6699 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.1743, allocations: 27.97 kB / 0.6699 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1746, allocations: 3.938 kB / 0.6699 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.1752, allocations: 151.1 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1756, allocations: 0.6729 MB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.1756, allocations: 4.062 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.1757, allocations: 15.42 kB / 0.6707 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1757, allocations: 0 / 0.6707 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.1976, allocations: 1.455 MB / 0.6721 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.156, allocations: 4.562 kB / 0.6721 GB, free: 13.8 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized_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_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)