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.001206/0.001206, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001088/0.001088, allocations: 191.7 kB / 16.25 MB, free: 6.145 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.316/1.316, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7206/0.7206, allocations: 132.2 MB / 422.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 64.14 kB / 0.5014 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1796, allocations: 80.2 MB / 0.5797 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002525/0.1822, allocations: 1.496 MB / 0.5811 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.1824, allocations: 96.58 kB / 0.5812 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.1825, allocations: 4 kB / 0.5812 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.1825, allocations: 0 / 0.5812 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.1826, allocations: 7.938 kB / 0.5812 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.1828, allocations: 15.92 kB / 0.5813 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.035e-05/0.1828, allocations: 19.94 kB / 0.5813 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.66e-05/0.1829, allocations: 7.984 kB / 0.5813 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.183, allocations: 8 kB / 0.5813 GB, free: 7.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.183, allocations: 19.91 kB / 0.5813 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.183, allocations: 4 kB / 0.5813 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.331e-05/0.1831, allocations: 19.98 kB / 0.5813 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.1831, allocations: 0 / 0.5813 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.1831, allocations: 15.92 kB / 0.5813 GB, free: 7.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.258e-05/0.1832, allocations: 31.91 kB / 0.5814 GB, free: 7.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1832, allocations: 0 / 0.5814 GB, free: 7.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1832, allocations: 0 / 0.5814 GB, free: 7.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1832, allocations: 0 / 0.5814 GB, free: 7.258 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.0003765/0.1836, allocations: 343.7 kB / 0.5817 GB, free: 6.871 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1837, allocations: 8.031 kB / 0.5817 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.1837, allocations: 34.75 kB / 0.5817 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.1839, allocations: 28.69 kB / 0.5818 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.427e-05/0.184, allocations: 164.3 kB / 0.5819 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.184, allocations: 8.375 kB / 0.5819 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.184, allocations: 384 / 0.5819 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1842, allocations: 54.23 kB / 0.582 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1842, allocations: 7.922 kB / 0.582 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1842, allocations: 0 / 0.582 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1843, allocations: 4 kB / 0.582 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.1845, allocations: 47.95 kB / 0.582 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.1848, allocations: 264.9 kB / 0.5823 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.185, allocations: 58.48 kB / 0.5824 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.1851, allocations: 28.91 kB / 0.5824 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.1851, allocations: 0 / 0.5824 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1851, allocations: 34.55 kB / 0.5824 GB, free: 6.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1851, allocations: 0 / 0.5824 GB, free: 6.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003781/0.1855, allocations: 109.5 kB / 0.5825 GB, free: 5.906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.1855, allocations: 55.41 kB / 0.5826 GB, free: 5.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.479e-05/0.1856, allocations: 101.9 kB / 0.5827 GB, free: 5.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.1856, allocations: 25.7 kB / 0.5827 GB, free: 5.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.1857, allocations: 84.12 kB / 0.5828 GB, free: 5.613 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.1857, allocations: 11.84 kB / 0.5828 GB, free: 5.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.1857, allocations: 13.72 kB / 0.5828 GB, free: 5.582 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.1858, allocations: 319 kB / 0.5831 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/0.1859, allocations: 23.97 kB / 0.5831 GB, free: 5.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-05/0.186, allocations: 24.22 kB / 0.5831 GB, free: 5.215 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.1862, allocations: 52.81 kB / 0.5832 GB, free: 5.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1862, allocations: 12 kB / 0.5832 GB, free: 5.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002172/0.1864, allocations: 73.59 kB / 0.5833 GB, free: 5.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1865, allocations: 9.875 kB / 0.5833 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1865, allocations: 0 / 0.5833 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1865, allocations: 0 / 0.5833 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1866, allocations: 15.98 kB / 0.5833 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1866, allocations: 0 / 0.5833 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.1867, allocations: 12.02 kB / 0.5833 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1867, allocations: 0 / 0.5833 GB, free: 5.035 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 6.466e-05/0.1867, allocations: 114.4 kB / 0.5834 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.1868, allocations: 3.938 kB / 0.5834 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.1868, allocations: 11.52 kB / 0.5834 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1868, allocations: 4 kB / 0.5834 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1868, allocations: 0 / 0.5834 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1868, allocations: 0 / 0.5834 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.187, allocations: 161.6 kB / 0.5836 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.187, allocations: 11.94 kB / 0.5836 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.1871, allocations: 7.984 kB / 0.5836 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1871, allocations: 0 / 0.5836 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1871, allocations: 4 kB / 0.5836 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1871, allocations: 0 / 0.5836 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1871, allocations: 3.984 kB / 0.5836 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1874, allocations: 191.3 kB / 0.5838 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.1874, allocations: 77.11 kB / 0.5839 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1874, allocations: 0 / 0.5839 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.1875, allocations: 7.984 kB / 0.5839 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.1875, allocations: 4 kB / 0.5839 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1876, allocations: 0 / 0.5839 GB, free: 4.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.534e-05/0.1876, allocations: 87.27 kB / 0.584 GB, free: 4.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1876, allocations: 0 / 0.584 GB, free: 4.266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002073/0.1878, allocations: 8.031 kB / 0.584 GB, free: 4.258 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.0004792/0.1883, allocations: 0.7045 MB / 0.5847 GB, free: 3.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1885, allocations: 51.98 kB / 0.5847 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1885, allocations: 4 kB / 0.5847 GB, free: 3.469 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.943e-05/0.1886, allocations: 23.97 kB / 0.5847 GB, free: 3.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.1889, allocations: 8 kB / 0.5848 GB, free: 3.438 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.1893, allocations: 159.1 kB / 0.5849 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.1895, allocations: 0.6807 MB / 0.5856 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.037e-05/0.1896, allocations: 0 / 0.5856 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.1896, allocations: 15.42 kB / 0.5856 GB, free: 2.52 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1896, allocations: 0 / 0.5856 GB, free: 2.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04882/0.2384, allocations: 1.288 MB / 0.5868 GB, free: 1.355 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.2387, allocations: 185.6 kB / 0.587 GB, free: 1.102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.902, allocations: 0 / 0.587 GB, free: 1.102 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)