Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_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.001372/0.001372, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001977/0.001977, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.102/2.102, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.138/1.138, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005897/0.0005899, allocations: 12 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2348, allocations: 82.31 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002598/0.2375, allocations: 1.136 MB / 0.5884 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003261/0.2379, allocations: 96.56 kB / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.2379, allocations: 0 / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.238, allocations: 4 kB / 0.5885 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.238, allocations: 3.984 kB / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.2382, allocations: 19.92 kB / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.2383, allocations: 15.92 kB / 0.5885 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2385, allocations: 7.984 kB / 0.5885 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.531e-05/0.2385, allocations: 7.984 kB / 0.5885 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.2386, allocations: 7.938 kB / 0.5885 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2386, allocations: 0 / 0.5885 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-05/0.2387, allocations: 15.98 kB / 0.5886 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.2387, allocations: 3.984 kB / 0.5886 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.2387, allocations: 33.7 kB / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.912e-05/0.2388, allocations: 11.97 kB / 0.5886 GB, free: 1.668 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2389, allocations: 4 kB / 0.5886 GB, free: 1.664 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2389, allocations: 0 / 0.5886 GB, free: 1.664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2389, allocations: 3.938 kB / 0.5886 GB, free: 1.66 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.0005523/0.2395, allocations: 351.5 kB / 0.589 GB, free: 1.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2395, allocations: 8.031 kB / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.2396, allocations: 30.56 kB / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002527/0.2398, allocations: 19.98 kB / 0.589 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.24, allocations: 170.9 kB / 0.5892 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.2401, allocations: 8 kB / 0.5892 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.2401, allocations: 0 / 0.5892 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.2404, allocations: 57.67 kB / 0.5892 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2405, allocations: 0 / 0.5892 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.2405, allocations: 4 kB / 0.5892 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2405, allocations: 4 kB / 0.5892 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.241, allocations: 67.88 kB / 0.5893 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.2416, allocations: 268.9 kB / 0.5896 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.242, allocations: 58.55 kB / 0.5896 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.242, allocations: 4 kB / 0.5896 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.2421, allocations: 34.55 kB / 0.5897 GB, free: 436 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.144e-06/0.2421, allocations: 0 / 0.5897 GB, free: 436 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008263/0.2429, allocations: 125.6 kB / 0.5898 GB, free: 304 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.243, allocations: 59.34 kB / 0.5898 GB, free: 232 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2431, allocations: 101.9 kB / 0.5899 GB, free: 120 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.2432, allocations: 25.7 kB / 0.59 GB, free: 88 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.2432, allocations: 84.25 kB / 0.59 GB, free: 0 / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.2433, allocations: 15.89 kB / 0.59 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.2433, allocations: 0 / 0.59 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2435, allocations: 318.8 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.2438, allocations: 31.97 kB / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.244, allocations: 31.98 kB / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.2443, allocations: 27.97 kB / 0.5904 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2443, allocations: 0 / 0.5904 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005298/0.2448, allocations: 97.66 kB / 0.5905 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.2449, allocations: 7.984 kB / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2449, allocations: 0 / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2449, allocations: 0 / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.2451, allocations: 20.02 kB / 0.5906 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.2452, allocations: 3.984 kB / 0.5906 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.2453, allocations: 12.16 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2454, allocations: 11.98 kB / 0.5906 GB, free: 15.41 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.2455, allocations: 112.2 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.2456, allocations: 0 / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/0.2456, allocations: 11.53 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2456, allocations: 4 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2457, allocations: 3.938 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2457, allocations: 0 / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.246, allocations: 169.6 kB / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.246, allocations: 0 / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.2462, allocations: 11.98 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.2462, allocations: 4 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2462, allocations: 0 / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2462, allocations: 0 / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2463, allocations: 4 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.2468, allocations: 199.3 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.2469, allocations: 85.02 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.247, allocations: 4 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.2472, allocations: 11.98 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.2473, allocations: 7.922 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.2473, allocations: 0 / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.251e-05/0.2474, allocations: 79.28 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2474, allocations: 4.031 kB / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004538/0.2479, allocations: 12 kB / 0.5913 GB, free: 14.61 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009576/0.2488, allocations: 0.7202 MB / 0.592 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004261/0.2493, allocations: 63.98 kB / 0.592 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2493, allocations: 4 kB / 0.592 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.2495, allocations: 31.97 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.2498, allocations: 0 / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.2506, allocations: 166.5 kB / 0.5922 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.251, allocations: 0.6809 MB / 0.5929 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.439e-05/0.2511, allocations: 11.94 kB / 0.5929 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.2511, allocations: 7.438 kB / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.2512, allocations: 0 / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.2701, allocations: 1.163 MB / 0.5941 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/0.2704, allocations: 167.5 kB / 0.5942 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/2.693, allocations: 0 / 0.5942 GB, free: 11.57 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: