Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7222/0.7222, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00094/0.0009401, allocations: 95.73 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.315e-05/4.329e-05, allocations: 8.438 kB / 0.5601 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1687, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5829/0.7517, allocations: 110.5 MB / 0.7485 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.752, allocations: 75.27 kB / 0.7485 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002785/0.7548, allocations: 0.9555 MB / 0.7495 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7549, allocations: 0 / 0.7495 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7549, allocations: 3.844 kB / 0.7495 GB, free: 27.5 MB / 0.5105 GB 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.0003026/0.7552, allocations: 319.9 kB / 0.7498 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.7552, allocations: 7.844 kB / 0.7498 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.7553, allocations: 34.41 kB / 0.7498 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.7554, allocations: 17.52 kB / 0.7498 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.7556, allocations: 163 kB / 0.75 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.7556, allocations: 0 / 0.75 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.7556, allocations: 0 / 0.75 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.7557, allocations: 43.44 kB / 0.75 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.7557, allocations: 0 / 0.75 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.7557, allocations: 0 / 0.75 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.7558, allocations: 0 / 0.75 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.246e-05/0.7558, allocations: 10.5 kB / 0.75 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.756, allocations: 163.4 kB / 0.7502 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.895e-05/0.7561, allocations: 32.61 kB / 0.7502 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.7561, allocations: 12.39 kB / 0.7502 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.7561, allocations: 0 / 0.7502 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.7562, allocations: 38.34 kB / 0.7503 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.7562, allocations: 0 / 0.7503 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001385/0.7563, allocations: 51.66 kB / 0.7503 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.7563, allocations: 53.56 kB / 0.7504 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.46e-05/0.7564, allocations: 85 kB / 0.7505 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.7564, allocations: 29.58 kB / 0.7505 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.7564, allocations: 80.14 kB / 0.7506 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.7565, allocations: 7.531 kB / 0.7506 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.7565, allocations: 0 / 0.7506 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.7566, allocations: 310.8 kB / 0.7509 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.7566, allocations: 10.45 kB / 0.7509 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/0.7566, allocations: 7.594 kB / 0.7509 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.298e-05/0.7567, allocations: 3.844 kB / 0.7509 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.7567, allocations: 0 / 0.7509 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.677e-05/0.7567, allocations: 53.41 kB / 0.7509 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.7568, allocations: 3.906 kB / 0.7509 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7568, allocations: 192 / 0.7509 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.7568, allocations: 0 / 0.7509 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.7572, allocations: 44.98 kB / 0.751 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.7586, allocations: 1.292 MB / 0.7522 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.7587, allocations: 3.562 kB / 0.7523 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.7587, allocations: 3.875 kB / 0.7523 GB, free: 24.6 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.7589, allocations: 104.9 kB / 0.7524 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.7589, allocations: 0 / 0.7524 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.7589, allocations: 3.5 kB / 0.7524 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.7589, allocations: 7.938 kB / 0.7524 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7589, allocations: 3.375 kB / 0.7524 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7589, allocations: 0 / 0.7524 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.7591, allocations: 148.8 kB / 0.7525 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.7591, allocations: 3.953 kB / 0.7525 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.7595, allocations: 45.88 kB / 0.7526 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.7595, allocations: 4 kB / 0.7526 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.7595, allocations: 0 / 0.7526 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.761, allocations: 1.302 MB / 0.7538 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.761, allocations: 0 / 0.7538 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.7611, allocations: 63.2 kB / 0.7539 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.7612, allocations: 95.14 kB / 0.754 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-06/0.7612, allocations: 0 / 0.754 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.062e-05/0.7612, allocations: 3.875 kB / 0.754 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.7613, allocations: 10.47 kB / 0.754 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.7613, allocations: 0 / 0.754 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.012e-05/0.7613, allocations: 75.28 kB / 0.7541 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7613, allocations: 0 / 0.7541 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002489/0.7616, allocations: 3.5 kB / 0.7541 GB, free: 22.7 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005638/0.7622, allocations: 0.6078 MB / 0.7547 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004442/0.7626, allocations: 52.19 kB / 0.7547 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7626, allocations: 0 / 0.7547 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.7628, allocations: 28.7 kB / 0.7547 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.763, allocations: 3.75 kB / 0.7547 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.7633, allocations: 83.7 kB / 0.7548 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.7637, allocations: 0.6756 MB / 0.7555 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.7637, allocations: 0 / 0.7555 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.7638, allocations: 17.66 kB / 0.7555 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/0.7638, allocations: 0 / 0.7555 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.7779, allocations: 1.051 MB / 0.7565 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/0.7781, allocations: 187.3 kB / 0.7567 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.408/2.187, allocations: 0 / 0.7567 GB, free: 20.89 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)