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.001053/0.001053, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001013/0.001013, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6991/0.6991, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 58.88 kB / 0.5014 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1427, allocations: 80.21 MB / 0.5797 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001634/0.1444, allocations: 0.6505 MB / 0.5803 GB, free: 8.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002363/0.1447, allocations: 87.72 kB / 0.5804 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.163e-05/0.1447, allocations: 4 kB / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.1447, allocations: 0 / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.744e-05/0.1447, allocations: 4 kB / 0.5804 GB, free: 8.254 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.1449, allocations: 11.98 kB / 0.5804 GB, free: 8.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.653e-05/0.145, allocations: 4 kB / 0.5804 GB, free: 8.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3e-05/0.145, allocations: 3.984 kB / 0.5804 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.145, allocations: 15.92 kB / 0.5804 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.1451, allocations: 0 / 0.5804 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.1451, allocations: 4 kB / 0.5805 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.777e-05/0.1451, allocations: 11.98 kB / 0.5805 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.1452, allocations: 8 kB / 0.5805 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.1452, allocations: 0 / 0.5805 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.72e-05/0.1453, allocations: 19.92 kB / 0.5805 GB, free: 8.176 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1453, allocations: 0 / 0.5805 GB, free: 8.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1453, allocations: 0 / 0.5805 GB, free: 8.176 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1453, allocations: 0 / 0.5805 GB, free: 8.176 MB / 494.1 MB 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.0003355/0.1456, allocations: 315.6 kB / 0.5808 GB, free: 7.816 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1457, allocations: 8.031 kB / 0.5808 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.1457, allocations: 38.69 kB / 0.5808 GB, free: 7.762 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.1458, allocations: 16.86 kB / 0.5809 GB, free: 7.746 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.146, allocations: 168.4 kB / 0.581 GB, free: 7.543 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.146, allocations: 384 / 0.581 GB, free: 7.543 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.146, allocations: 4.359 kB / 0.581 GB, free: 7.539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1461, allocations: 42.25 kB / 0.5811 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1461, allocations: 3.938 kB / 0.5811 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.1461, allocations: 0 / 0.5811 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1461, allocations: 0 / 0.5811 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.875e-05/0.1462, allocations: 19.98 kB / 0.5811 GB, free: 7.469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.1464, allocations: 161.6 kB / 0.5812 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.1465, allocations: 38.5 kB / 0.5813 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.1466, allocations: 16.91 kB / 0.5813 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1466, allocations: 4 kB / 0.5813 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.1466, allocations: 34.56 kB / 0.5813 GB, free: 7.148 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1466, allocations: 0 / 0.5813 GB, free: 7.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001954/0.1468, allocations: 61.55 kB / 0.5814 GB, free: 7.082 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1469, allocations: 51.41 kB / 0.5814 GB, free: 7.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.297e-05/0.1469, allocations: 89.86 kB / 0.5815 GB, free: 6.922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1469, allocations: 25.7 kB / 0.5815 GB, free: 6.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.147, allocations: 80.14 kB / 0.5816 GB, free: 6.809 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.147, allocations: 12.12 kB / 0.5816 GB, free: 6.797 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.147, allocations: 17.72 kB / 0.5816 GB, free: 6.773 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1471, allocations: 310.8 kB / 0.5819 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.1472, allocations: 11.98 kB / 0.582 GB, free: 6.449 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.1472, allocations: 7.938 kB / 0.582 GB, free: 6.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.61e-05/0.1473, allocations: 24.84 kB / 0.582 GB, free: 6.414 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1473, allocations: 0 / 0.582 GB, free: 6.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001118/0.1474, allocations: 53.61 kB / 0.582 GB, free: 6.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1474, allocations: 8 kB / 0.582 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1475, allocations: 3.938 kB / 0.582 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.1475, allocations: 0 / 0.582 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.1478, allocations: 39.94 kB / 0.5821 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.1491, allocations: 1.412 MB / 0.5835 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.1491, allocations: 0 / 0.5835 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1491, allocations: 4.031 kB / 0.5835 GB, free: 4.746 MB / 494.1 MB 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 7.059e-05/0.1492, allocations: 117.9 kB / 0.5836 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.1492, allocations: 0 / 0.5836 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.322e-05/0.1492, allocations: 7.484 kB / 0.5836 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1492, allocations: 4 kB / 0.5836 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.81e-07/0.1492, allocations: 0 / 0.5836 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1492, allocations: 0 / 0.5836 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.391e-05/0.1493, allocations: 149.6 kB / 0.5837 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1493, allocations: 7.938 kB / 0.5837 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.1497, allocations: 47.92 kB / 0.5838 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1497, allocations: 4 kB / 0.5838 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1497, allocations: 0 / 0.5838 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.1508, allocations: 1.41 MB / 0.5852 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1508, allocations: 0 / 0.5852 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1509, allocations: 73.11 kB / 0.5852 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.151, allocations: 77.11 kB / 0.5853 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.151, allocations: 7.938 kB / 0.5853 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.887e-05/0.151, allocations: 4 kB / 0.5853 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.151, allocations: 8 kB / 0.5853 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.1511, allocations: 3.984 kB / 0.5853 GB, free: 2.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.844e-05/0.1511, allocations: 75.28 kB / 0.5854 GB, free: 2.527 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1511, allocations: 0 / 0.5854 GB, free: 2.527 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.1513, allocations: 4 kB / 0.5854 GB, free: 2.523 MB / 494.1 MB 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.0003937/0.1517, allocations: 0.623 MB / 0.586 GB, free: 1.875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004571/0.1522, allocations: 59.86 kB / 0.5861 GB, free: 1.816 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1522, allocations: 3.938 kB / 0.5861 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.1524, allocations: 43.95 kB / 0.5861 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.1526, allocations: 0 / 0.5861 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.153, allocations: 133 kB / 0.5863 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.1532, allocations: 0.6729 MB / 0.5869 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.1532, allocations: 8 kB / 0.5869 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.1533, allocations: 7.438 kB / 0.5869 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1533, allocations: 0 / 0.5869 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/0.273, allocations: 1.149 MB / 0.588 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/0.2734, allocations: 233 kB / 0.5883 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.096, allocations: 0 / 0.5883 GB, free: 15.66 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)