Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_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.001282/0.001282, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001296/0.001296, allocations: 196.4 kB / 16.14 MB, free: 6.707 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 / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6779/0.6779, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 68.22 kB / 0.5012 GB, free: 9.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1367, allocations: 80.19 MB / 0.5795 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001989/0.1388, allocations: 1.5 MB / 0.581 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002264/0.139, allocations: 100.5 kB / 0.5811 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.139, allocations: 4 kB / 0.5811 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.1391, allocations: 3.984 kB / 0.5811 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.072e-05/0.1391, allocations: 4 kB / 0.5811 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.1392, allocations: 11.94 kB / 0.5811 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.672e-05/0.1393, allocations: 19.98 kB / 0.5811 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.131e-05/0.1393, allocations: 7.938 kB / 0.5811 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.1394, allocations: 11.92 kB / 0.5811 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.761e-05/0.1394, allocations: 11.98 kB / 0.5811 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.1394, allocations: 0 / 0.5811 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.158e-05/0.1395, allocations: 15.98 kB / 0.5811 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.1395, allocations: 3.938 kB / 0.5811 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.1395, allocations: 19.92 kB / 0.5812 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.534e-05/0.1396, allocations: 31.95 kB / 0.5812 GB, free: 7.418 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1396, allocations: 0 / 0.5812 GB, free: 7.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1396, allocations: 3.938 kB / 0.5812 GB, free: 7.414 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.766e-06/0.1396, allocations: 0 / 0.5812 GB, free: 7.414 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.0003285/0.14, allocations: 343.7 kB / 0.5815 GB, free: 7.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.14, allocations: 8.031 kB / 0.5815 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.14, allocations: 34.75 kB / 0.5816 GB, free: 6.977 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.1402, allocations: 16.83 kB / 0.5816 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.091e-05/0.1402, allocations: 172.4 kB / 0.5817 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1403, allocations: 384 / 0.5817 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.1403, allocations: 384 / 0.5817 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1404, allocations: 58.23 kB / 0.5818 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1405, allocations: 7.875 kB / 0.5818 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.1405, allocations: 0 / 0.5818 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.1405, allocations: 0 / 0.5818 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.1407, allocations: 51.94 kB / 0.5819 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.1409, allocations: 257 kB / 0.5821 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.1411, allocations: 58.47 kB / 0.5822 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.219e-05/0.1412, allocations: 32.89 kB / 0.5822 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.1412, allocations: 0 / 0.5822 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.1412, allocations: 34.5 kB / 0.5822 GB, free: 6.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.1412, allocations: 4 kB / 0.5822 GB, free: 6.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003325/0.1416, allocations: 101.5 kB / 0.5823 GB, free: 6.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.1416, allocations: 59.47 kB / 0.5824 GB, free: 6.008 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.43e-05/0.1417, allocations: 105.8 kB / 0.5825 GB, free: 5.895 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.1417, allocations: 25.7 kB / 0.5825 GB, free: 5.863 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.1417, allocations: 88.14 kB / 0.5826 GB, free: 5.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.1418, allocations: 11.83 kB / 0.5826 GB, free: 5.762 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.1418, allocations: 9.719 kB / 0.5826 GB, free: 5.746 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.1419, allocations: 318.8 kB / 0.5829 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.673e-05/0.142, allocations: 27.97 kB / 0.5829 GB, free: 5.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.1421, allocations: 23.92 kB / 0.583 GB, free: 5.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.1422, allocations: 48.81 kB / 0.583 GB, free: 5.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1422, allocations: 3.938 kB / 0.583 GB, free: 5.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002038/0.1424, allocations: 85.7 kB / 0.5831 GB, free: 5.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.1425, allocations: 4 kB / 0.5831 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1425, allocations: 0 / 0.5831 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/0.1425, allocations: 3.938 kB / 0.5831 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.834e-05/0.1426, allocations: 11.98 kB / 0.5831 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.1426, allocations: 0 / 0.5831 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.1426, allocations: 7.984 kB / 0.5831 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1427, allocations: 4 kB / 0.5831 GB, free: 5.199 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 (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 5.871e-05/0.1427, allocations: 118.5 kB / 0.5832 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.1427, allocations: 3.938 kB / 0.5832 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.1428, allocations: 7.531 kB / 0.5833 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1428, allocations: 0 / 0.5833 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1428, allocations: 0 / 0.5833 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1428, allocations: 3.984 kB / 0.5833 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.1429, allocations: 173.8 kB / 0.5834 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1429, allocations: 4 kB / 0.5834 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/0.143, allocations: 15.98 kB / 0.5834 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.143, allocations: 0 / 0.5834 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-06/0.143, allocations: 0 / 0.5834 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.143, allocations: 0 / 0.5834 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.143, allocations: 0 / 0.5834 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1433, allocations: 179.3 kB / 0.5836 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.1433, allocations: 81.14 kB / 0.5837 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1433, allocations: 0 / 0.5837 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.627e-05/0.1434, allocations: 15.98 kB / 0.5837 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.1434, allocations: 0 / 0.5837 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1435, allocations: 0 / 0.5837 GB, free: 4.516 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.941e-05/0.1435, allocations: 83.22 kB / 0.5838 GB, free: 4.434 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1435, allocations: 0 / 0.5838 GB, free: 4.434 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001954/0.1437, allocations: 8 kB / 0.5838 GB, free: 4.426 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 (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.0004223/0.1441, allocations: 0.7122 MB / 0.5845 GB, free: 3.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1443, allocations: 59.97 kB / 0.5845 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1443, allocations: 0 / 0.5845 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.371e-05/0.1444, allocations: 31.91 kB / 0.5846 GB, free: 3.598 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.1447, allocations: 2.25 kB / 0.5846 GB, free: 3.598 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.145, allocations: 164.9 kB / 0.5847 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.1452, allocations: 0.677 MB / 0.5854 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.716e-05/0.1452, allocations: 0 / 0.5854 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.1453, allocations: 7.438 kB / 0.5854 GB, free: 2.688 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1453, allocations: 0 / 0.5854 GB, free: 2.688 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.965/2.11, allocations: 1.248 MB / 0.5866 GB, free: 1.543 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002877/2.111, allocations: 189.9 kB / 0.5868 GB, free: 1.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/3.72, allocations: 0 / 0.5868 GB, free: 1.285 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)