Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",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.001582/0.001583, allocations: 175.1 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.7213/0.7213, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.642/1.642, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.0009159/0.000916, allocations: 91.89 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.229e-05/5.234e-05, allocations: 4.031 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1677, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.602/0.7697, allocations: 111.9 MB / 0.7498 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.77, allocations: 69.86 kB / 0.7498 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01188/0.7819, allocations: 4.352 MB / 0.7541 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7819, allocations: 0 / 0.7541 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.782, allocations: 3.844 kB / 0.7541 GB, free: 27.13 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.0004331/0.7824, allocations: 363.9 kB / 0.7544 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.7825, allocations: 11.78 kB / 0.7544 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.7825, allocations: 36.98 kB / 0.7545 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.7826, allocations: 3.906 kB / 0.7545 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.7827, allocations: 166.9 kB / 0.7546 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.7828, allocations: 0 / 0.7546 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.7828, allocations: 0 / 0.7546 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.7829, allocations: 43.55 kB / 0.7547 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7829, allocations: 3.938 kB / 0.7547 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.7829, allocations: 3.984 kB / 0.7547 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.7829, allocations: 0 / 0.7547 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.783, allocations: 21.11 kB / 0.7547 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.7835, allocations: 263.1 kB / 0.755 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.928e-05/0.7835, allocations: 29.58 kB / 0.755 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.7836, allocations: 12.55 kB / 0.755 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005886/0.7842, allocations: 460.8 kB / 0.7554 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.7842, allocations: 37.14 kB / 0.7555 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.7842, allocations: 0 / 0.7555 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001892/0.7844, allocations: 44.48 kB / 0.7555 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.7844, allocations: 51.41 kB / 0.7556 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.7845, allocations: 99.03 kB / 0.7557 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.7845, allocations: 25.7 kB / 0.7557 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.7846, allocations: 87.36 kB / 0.7558 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.7846, allocations: 3.906 kB / 0.7558 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.7846, allocations: 0 / 0.7558 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7848, allocations: 325 kB / 0.7561 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.7848, allocations: 7.75 kB / 0.7561 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.503e-05/0.7848, allocations: 11.03 kB / 0.7561 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.944e-05/0.7848, allocations: 6.125 kB / 0.7561 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7848, allocations: 0 / 0.7561 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.18e-05/0.7849, allocations: 43.81 kB / 0.7561 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.785, allocations: 3.844 kB / 0.7561 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.785, allocations: 0 / 0.7561 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.785, allocations: 4.094 kB / 0.7561 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.7851, allocations: 14.64 kB / 0.7562 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.7851, allocations: 3.984 kB / 0.7562 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.7851, allocations: 6.953 kB / 0.7562 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.7852, allocations: 3.906 kB / 0.7562 GB, free: 24.98 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 (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 7.04e-05/0.7852, allocations: 110.5 kB / 0.7563 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.7853, allocations: 0 / 0.7563 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.7854, allocations: 55.11 kB / 0.7563 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.7854, allocations: 0 / 0.7563 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7854, allocations: 3.156 kB / 0.7563 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7854, allocations: 3.812 kB / 0.7563 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.7856, allocations: 169.8 kB / 0.7565 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7856, allocations: 0 / 0.7565 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.7857, allocations: 10.62 kB / 0.7565 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.7857, allocations: 0 / 0.7565 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.7857, allocations: 7.906 kB / 0.7565 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.7857, allocations: 0 / 0.7565 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7857, allocations: 3.938 kB / 0.7565 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.7858, allocations: 149 kB / 0.7567 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.7859, allocations: 80.06 kB / 0.7567 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.7859, allocations: 3.844 kB / 0.7567 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.786, allocations: 6.609 kB / 0.7568 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.786, allocations: 4.031 kB / 0.7568 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.786, allocations: 3.844 kB / 0.7568 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.134e-05/0.7861, allocations: 82.38 kB / 0.7568 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7861, allocations: 0 / 0.7568 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002243/0.7863, allocations: 18.31 kB / 0.7569 GB, free: 24.31 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 (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.0005081/0.7868, allocations: 0.6965 MB / 0.7575 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.832e-05/0.7869, allocations: 18.25 kB / 0.7576 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.7869, allocations: 3.938 kB / 0.7576 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.787, allocations: 6.75 kB / 0.7576 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.7871, allocations: 4.969 kB / 0.7576 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.7875, allocations: 96.73 kB / 0.7577 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.7878, allocations: 0.6834 MB / 0.7583 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.7878, allocations: 6.141 kB / 0.7583 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.7879, allocations: 7.438 kB / 0.7583 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/0.7879, allocations: 0 / 0.7583 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01251/0.8004, allocations: 1.28 MB / 0.7596 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/0.8006, allocations: 152.3 kB / 0.7597 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.307, allocations: 0 / 0.7597 GB, free: 22.43 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)