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.001097/0.001097, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.732/0.732, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 64.17 kB / 0.5019 GB, free: 8.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1459, allocations: 80.2 MB / 0.5802 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002774/0.1487, allocations: 1.432 MB / 0.5816 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00027/0.149, allocations: 92.52 kB / 0.5817 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.1491, allocations: 0 / 0.5817 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.1491, allocations: 7.938 kB / 0.5817 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.1492, allocations: 7.938 kB / 0.5817 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.1494, allocations: 15.98 kB / 0.5817 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.391e-05/0.1494, allocations: 27.92 kB / 0.5817 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.822e-05/0.1495, allocations: 0 / 0.5817 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.224e-05/0.1496, allocations: 15.92 kB / 0.5817 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.623e-05/0.1496, allocations: 7.984 kB / 0.5818 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1496, allocations: 7.938 kB / 0.5818 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.456e-05/0.1497, allocations: 12 kB / 0.5818 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.1497, allocations: 15.91 kB / 0.5818 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.1498, allocations: 15.94 kB / 0.5818 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.1499, allocations: 27.95 kB / 0.5818 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1499, allocations: 4 kB / 0.5818 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1499, allocations: 3.938 kB / 0.5818 GB, free: 6.977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1499, allocations: 0 / 0.5818 GB, free: 6.977 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.000413/0.1503, allocations: 343.7 kB / 0.5822 GB, free: 6.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1504, allocations: 8.031 kB / 0.5822 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.1504, allocations: 30.75 kB / 0.5822 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.1506, allocations: 20.83 kB / 0.5822 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1507, allocations: 164.4 kB / 0.5824 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1507, allocations: 384 / 0.5824 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1508, allocations: 4.312 kB / 0.5824 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.151, allocations: 58.22 kB / 0.5824 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.151, allocations: 3.938 kB / 0.5824 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.151, allocations: 4 kB / 0.5824 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.151, allocations: 0 / 0.5824 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.1512, allocations: 47.95 kB / 0.5825 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.1516, allocations: 257 kB / 0.5827 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1518, allocations: 62.42 kB / 0.5828 GB, free: 5.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.1519, allocations: 32.89 kB / 0.5828 GB, free: 5.797 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.152, allocations: 3.984 kB / 0.5828 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.152, allocations: 30.56 kB / 0.5829 GB, free: 5.754 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.152, allocations: 4 kB / 0.5829 GB, free: 5.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004341/0.1524, allocations: 109.6 kB / 0.583 GB, free: 5.637 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1525, allocations: 51.41 kB / 0.583 GB, free: 5.574 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.1526, allocations: 109.8 kB / 0.5831 GB, free: 5.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1526, allocations: 25.7 kB / 0.5832 GB, free: 5.426 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.1526, allocations: 88.14 kB / 0.5832 GB, free: 5.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1527, allocations: 7.844 kB / 0.5832 GB, free: 5.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.1527, allocations: 13.7 kB / 0.5833 GB, free: 5.309 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1528, allocations: 318.8 kB / 0.5836 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1529, allocations: 28 kB / 0.5836 GB, free: 4.961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.421e-05/0.153, allocations: 15.98 kB / 0.5836 GB, free: 4.945 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.1533, allocations: 52.81 kB / 0.5837 GB, free: 4.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1533, allocations: 3.938 kB / 0.5837 GB, free: 4.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002492/0.1535, allocations: 85.95 kB / 0.5837 GB, free: 4.797 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1536, allocations: 4 kB / 0.5837 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1536, allocations: 0 / 0.5837 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1536, allocations: 7.938 kB / 0.5837 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1537, allocations: 19.86 kB / 0.5838 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1537, allocations: 0 / 0.5838 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.1538, allocations: 7.984 kB / 0.5838 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1538, allocations: 4.031 kB / 0.5838 GB, free: 4.754 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 7.729e-05/0.1539, allocations: 118.4 kB / 0.5839 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1539, allocations: 0 / 0.5839 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.1539, allocations: 7.531 kB / 0.5839 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1539, allocations: 0 / 0.5839 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.154, allocations: 0 / 0.5839 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.154, allocations: 0 / 0.5839 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.1541, allocations: 173.6 kB / 0.5841 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1541, allocations: 0 / 0.5841 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.1542, allocations: 15.98 kB / 0.5841 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1542, allocations: 0 / 0.5841 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1542, allocations: 0 / 0.5841 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1542, allocations: 0 / 0.5841 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1542, allocations: 0 / 0.5841 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.1546, allocations: 185.1 kB / 0.5843 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.1546, allocations: 81.09 kB / 0.5843 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1546, allocations: 0 / 0.5843 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.1547, allocations: 8 kB / 0.5843 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1548, allocations: 7.984 kB / 0.5843 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.1548, allocations: 0 / 0.5843 GB, free: 4.078 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.504e-05/0.1548, allocations: 79.28 kB / 0.5844 GB, free: 4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1548, allocations: 0 / 0.5844 GB, free: 4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.155, allocations: 8 kB / 0.5844 GB, free: 3.992 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.0005966/0.1556, allocations: 0.7046 MB / 0.5851 GB, free: 3.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.1559, allocations: 63.91 kB / 0.5852 GB, free: 3.195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1559, allocations: 0 / 0.5852 GB, free: 3.195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.156, allocations: 23.98 kB / 0.5852 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.1563, allocations: 6.484 kB / 0.5852 GB, free: 3.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.1568, allocations: 155.2 kB / 0.5854 GB, free: 2.977 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.1571, allocations: 0.6768 MB / 0.586 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.818e-05/0.1571, allocations: 4 kB / 0.586 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.1571, allocations: 7.438 kB / 0.586 GB, free: 2.262 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1572, allocations: 3.938 kB / 0.586 GB, free: 2.258 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1834/0.3406, allocations: 1.416 MB / 0.5874 GB, free: 0.918 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/8, allocations: 12 kB / 0.5874 GB, free: 0.9102 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)