Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",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.0006562/0.0006562, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.004241/0.004241, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.211/1.211, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7166/0.7166, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 8 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3503, allocations: 81.58 MB / 0.5837 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001197/0.3515, allocations: 1.169 MB / 0.5849 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006054/0.3521, allocations: 400 kB / 0.5853 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.3521, allocations: 0.5 kB / 0.5853 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.3522, allocations: 5.766 kB / 0.5853 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.287e-05/0.3522, allocations: 4.844 kB / 0.5853 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.3525, allocations: 76.34 kB / 0.5854 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.137e-05/0.3526, allocations: 20.97 kB / 0.5854 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.6e-05/0.3526, allocations: 7.859 kB / 0.5854 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.34e-05/0.3527, allocations: 4.797 kB / 0.5854 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.374e-05/0.3527, allocations: 14.14 kB / 0.5854 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.3527, allocations: 1.188 kB / 0.5854 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.3531, allocations: 278.9 kB / 0.5857 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.3531, allocations: 2.094 kB / 0.5857 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.3532, allocations: 41.14 kB / 0.5857 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.3533, allocations: 102.3 kB / 0.5858 GB, free: 2.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3534, allocations: 0.7188 kB / 0.5858 GB, free: 2.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3534, allocations: 0 / 0.5858 GB, free: 2.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.3534, allocations: 0.9375 kB / 0.5858 GB, free: 2.551 MB / 430.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.0003254/0.3537, allocations: 369.6 kB / 0.5862 GB, free: 2.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.3537, allocations: 8.906 kB / 0.5862 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.157e-05/0.3538, allocations: 37.11 kB / 0.5862 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.3538, allocations: 2.469 kB / 0.5862 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.203e-05/0.3539, allocations: 174.9 kB / 0.5864 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.3539, allocations: 2.625 kB / 0.5864 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.3539, allocations: 1.656 kB / 0.5864 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3541, allocations: 57.66 kB / 0.5864 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.3541, allocations: 3.938 kB / 0.5864 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.3541, allocations: 1.625 kB / 0.5864 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3541, allocations: 0 / 0.5864 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.3543, allocations: 51.56 kB / 0.5865 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.3545, allocations: 252.4 kB / 0.5867 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.3546, allocations: 47.02 kB / 0.5868 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.3547, allocations: 28.22 kB / 0.5868 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005011/0.3552, allocations: 469.1 kB / 0.5872 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.3553, allocations: 35.22 kB / 0.5873 GB, free: 1.023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3553, allocations: 0 / 0.5873 GB, free: 1.023 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003475/0.3556, allocations: 104.6 kB / 0.5874 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.3556, allocations: 53.22 kB / 0.5874 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.769e-05/0.3557, allocations: 103.5 kB / 0.5875 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.3557, allocations: 26.39 kB / 0.5876 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/0.3557, allocations: 86.62 kB / 0.5876 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.3557, allocations: 5.859 kB / 0.5876 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.3558, allocations: 9.719 kB / 0.5876 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.355e-05/0.3558, allocations: 313.2 kB / 0.5879 GB, free: 372 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.3559, allocations: 27.39 kB / 0.588 GB, free: 364 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.356, allocations: 20.53 kB / 0.588 GB, free: 364 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3561, allocations: 58.52 kB / 0.588 GB, free: 340 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3562, allocations: 5.031 kB / 0.5881 GB, free: 336 kB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001998/0.3564, allocations: 77.78 kB / 0.5881 GB, free: 296 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.3564, allocations: 9.188 kB / 0.5881 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3564, allocations: 0.7969 kB / 0.5881 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.3564, allocations: 4.938 kB / 0.5881 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.3565, allocations: 10.78 kB / 0.5882 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.3565, allocations: 1.906 kB / 0.5882 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.3565, allocations: 7.797 kB / 0.5882 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.3565, allocations: 0.7031 kB / 0.5882 GB, free: 288 kB / 430.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 4.058e-05/0.3566, allocations: 122 kB / 0.5883 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.3566, allocations: 2.25 kB / 0.5883 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.3569, allocations: 82.89 kB / 0.5884 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3569, allocations: 0.75 kB / 0.5884 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3569, allocations: 5.094 kB / 0.5884 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3569, allocations: 0 / 0.5884 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.357, allocations: 165.8 kB / 0.5885 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.357, allocations: 0 / 0.5885 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.806e-05/0.3571, allocations: 11.91 kB / 0.5885 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3571, allocations: 0.8438 kB / 0.5885 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3571, allocations: 0.5625 kB / 0.5885 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3571, allocations: 0.7812 kB / 0.5885 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3571, allocations: 0 / 0.5885 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.3574, allocations: 186 kB / 0.5887 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.3574, allocations: 79.42 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.3574, allocations: 0.9531 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.3575, allocations: 16.73 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.3576, allocations: 2.422 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3576, allocations: 1.219 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.492e-05/0.3576, allocations: 90 kB / 0.5889 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3576, allocations: 0 / 0.5889 GB, free: 15.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.3578, allocations: 12.59 kB / 0.5889 GB, free: 15.57 MB / 446.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.0005175/0.3584, allocations: 0.7166 MB / 0.5896 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3586, allocations: 53.83 kB / 0.5897 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3586, allocations: 0 / 0.5897 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/0.3587, allocations: 26.44 kB / 0.5897 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.3589, allocations: 6.812 kB / 0.5897 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.3593, allocations: 154.7 kB / 0.5898 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.3595, allocations: 0.6779 MB / 0.5905 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.016e-05/0.3595, allocations: 2.219 kB / 0.5905 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.3596, allocations: 12.14 kB / 0.5905 GB, free: 14.01 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3596, allocations: 1.281 kB / 0.5905 GB, free: 14.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1838/0.5434, allocations: 1.334 MB / 0.5918 GB, free: 13.85 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.5436, allocations: 188.9 kB / 0.592 GB, free: 13.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.218, allocations: 0 / 0.592 GB, free: 13.59 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)