Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.004776/0.004776, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00127/0.00127, allocations: 197.2 kB / 16.68 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8455/0.8455, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 66.44 kB / 0.5809 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1488, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001716/0.1506, allocations: 0.5836 MB / 0.6598 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003169/0.1509, allocations: 98.27 kB / 0.6599 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.1509, allocations: 0 / 0.6599 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.151, allocations: 0 / 0.6599 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.151, allocations: 0 / 0.6599 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.1513, allocations: 23.84 kB / 0.6599 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.935e-05/0.1513, allocations: 8 kB / 0.6599 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.1514, allocations: 4 kB / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.1514, allocations: 4 kB / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.389e-05/0.1515, allocations: 3.984 kB / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1515, allocations: 0 / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.729e-05/0.1516, allocations: 15.98 kB / 0.6599 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.1516, allocations: 0 / 0.6599 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.1516, allocations: 7.938 kB / 0.66 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.777e-05/0.1517, allocations: 15.97 kB / 0.66 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1517, allocations: 0 / 0.66 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1517, allocations: 0 / 0.66 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.1518, allocations: 4 kB / 0.66 GB, free: 10 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.0004048/0.1522, allocations: 324.1 kB / 0.6603 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1522, allocations: 8.031 kB / 0.6603 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.1523, allocations: 38.69 kB / 0.6603 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.1524, allocations: 12.92 kB / 0.6603 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1525, allocations: 164.3 kB / 0.6605 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.1525, allocations: 384 / 0.6605 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1526, allocations: 384 / 0.6605 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1527, allocations: 50.23 kB / 0.6605 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1527, allocations: 3.938 kB / 0.6606 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1527, allocations: 3.984 kB / 0.6606 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1528, allocations: 0 / 0.6606 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.063e-05/0.1528, allocations: 11.98 kB / 0.6606 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.153, allocations: 145.7 kB / 0.6607 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1532, allocations: 50.53 kB / 0.6608 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.1533, allocations: 16.92 kB / 0.6608 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1533, allocations: 7.922 kB / 0.6608 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1533, allocations: 34.56 kB / 0.6608 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1533, allocations: 0 / 0.6608 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002338/0.1536, allocations: 53.62 kB / 0.6609 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.1536, allocations: 59.39 kB / 0.6609 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.955e-05/0.1537, allocations: 93.86 kB / 0.661 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1537, allocations: 25.7 kB / 0.661 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.1538, allocations: 84.08 kB / 0.6611 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.1538, allocations: 11.84 kB / 0.6611 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.1538, allocations: 17.72 kB / 0.6611 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.154, allocations: 310.8 kB / 0.6614 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.456e-05/0.154, allocations: 7.984 kB / 0.6614 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.1541, allocations: 8 kB / 0.6615 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.1542, allocations: 20.84 kB / 0.6615 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1542, allocations: 0 / 0.6615 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001187/0.1543, allocations: 53.67 kB / 0.6615 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1543, allocations: 4 kB / 0.6615 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1543, allocations: 3.938 kB / 0.6615 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1544, allocations: 0 / 0.6615 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.1548, allocations: 47.88 kB / 0.6616 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.1563, allocations: 1.398 MB / 0.6629 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.1563, allocations: 8.125 kB / 0.6629 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1563, allocations: 0 / 0.6629 GB, free: 6.582 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.762e-05/0.1564, allocations: 117.8 kB / 0.6631 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.1564, allocations: 3.984 kB / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.194e-05/0.1564, allocations: 3.5 kB / 0.6631 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1564, allocations: 0 / 0.6631 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1565, allocations: 3.984 kB / 0.6631 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1565, allocations: 4 kB / 0.6631 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.1566, allocations: 157.6 kB / 0.6632 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1566, allocations: 4 kB / 0.6632 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.157, allocations: 47.92 kB / 0.6633 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.157, allocations: 0 / 0.6633 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.157, allocations: 4 kB / 0.6633 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.1583, allocations: 1.408 MB / 0.6647 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1583, allocations: 32 / 0.6647 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.1585, allocations: 81.05 kB / 0.6647 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.1585, allocations: 85.16 kB / 0.6648 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.1586, allocations: 3.938 kB / 0.6648 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.067e-05/0.1586, allocations: 4 kB / 0.6648 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.1586, allocations: 0 / 0.6648 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1586, allocations: 0 / 0.6648 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.1587, allocations: 75.28 kB / 0.6649 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1587, allocations: 0 / 0.6649 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001968/0.1589, allocations: 8 kB / 0.6649 GB, free: 4.348 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004769/0.1594, allocations: 0.6163 MB / 0.6655 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004878/0.1599, allocations: 59.91 kB / 0.6656 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1599, allocations: 0 / 0.6656 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.1601, allocations: 43.89 kB / 0.6656 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1603, allocations: 0 / 0.6656 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.1607, allocations: 128.1 kB / 0.6657 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.161, allocations: 0.6768 MB / 0.6664 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.1611, allocations: 7.984 kB / 0.6664 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.1611, allocations: 7.438 kB / 0.6664 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1611, allocations: 0 / 0.6664 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.1841, allocations: 1.271 MB / 0.6676 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.1, allocations: 11.34 kB / 0.6677 GB, free: 1.582 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)