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.001408/0.001408, allocations: 172.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8714/0.8714, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000954/0.0009535, allocations: 88.55 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.102e-05, allocations: 8 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4599, allocations: 82.31 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.6102, allocations: 111.2 MB / 0.7425 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.6105, allocations: 71.97 kB / 0.7426 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01235/0.6229, allocations: 4.324 MB / 0.7468 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.795e-06/0.6229, allocations: 4 kB / 0.7468 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.6229, allocations: 0 / 0.7468 GB, free: 7.059 MB / 0.5261 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.0003992/0.6233, allocations: 378.3 kB / 0.7472 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.6234, allocations: 8.031 kB / 0.7472 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.6235, allocations: 7.906 kB / 0.7472 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.6236, allocations: 163 kB / 0.7474 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.6236, allocations: 4 kB / 0.7474 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.6236, allocations: 4 kB / 0.7474 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.335e-05/0.6237, allocations: 11.98 kB / 0.7474 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.715e-05/0.6238, allocations: 37.7 kB / 0.7474 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.6238, allocations: 0 / 0.7474 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.6238, allocations: 4 kB / 0.7474 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6238, allocations: 3.984 kB / 0.7474 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.6242, allocations: 249.4 kB / 0.7477 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.154e-05/0.6243, allocations: 26.58 kB / 0.7477 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.6243, allocations: 8.859 kB / 0.7477 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/0.625, allocations: 465.5 kB / 0.7481 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.625, allocations: 34.56 kB / 0.7482 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.625, allocations: 0 / 0.7482 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001824/0.6252, allocations: 49.55 kB / 0.7482 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.6252, allocations: 55.39 kB / 0.7483 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.6253, allocations: 93 kB / 0.7484 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.6253, allocations: 25.7 kB / 0.7484 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.6254, allocations: 84.14 kB / 0.7485 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.6254, allocations: 3.906 kB / 0.7485 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.6254, allocations: 4.031 kB / 0.7485 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6255, allocations: 322.8 kB / 0.7488 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.6255, allocations: 4 kB / 0.7488 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.6255, allocations: 8 kB / 0.7488 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/0.6256, allocations: 7.938 kB / 0.7488 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6256, allocations: 0 / 0.7488 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.768e-05/0.6257, allocations: 41.7 kB / 0.7488 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.6257, allocations: 4 kB / 0.7488 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.6257, allocations: 96 / 0.7488 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.6257, allocations: 4 kB / 0.7488 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.6258, allocations: 11.98 kB / 0.7488 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6259, allocations: 3.938 kB / 0.7489 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.6259, allocations: 11.98 kB / 0.7489 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.6259, allocations: 0 / 0.7489 GB, free: 4.672 MB / 0.5261 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 6.454e-05/0.626, allocations: 104.9 kB / 0.749 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.442e-05/0.6261, allocations: 45.7 kB / 0.749 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.6261, allocations: 7.906 kB / 0.749 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.6262, allocations: 49.66 kB / 0.7491 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6263, allocations: 3.984 kB / 0.7491 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6263, allocations: 0 / 0.7491 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6263, allocations: 7.938 kB / 0.7491 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.6264, allocations: 142.1 kB / 0.7492 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6264, allocations: 0 / 0.7492 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.6265, allocations: 12.05 kB / 0.7492 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.6265, allocations: 4.25 kB / 0.7492 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.6265, allocations: 0 / 0.7492 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6265, allocations: 4 kB / 0.7492 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6265, allocations: 0 / 0.7492 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.6266, allocations: 139.5 kB / 0.7494 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.6267, allocations: 81.11 kB / 0.7494 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.6267, allocations: 0 / 0.7494 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.6268, allocations: 12.02 kB / 0.7495 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.6268, allocations: 4 kB / 0.7495 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.6268, allocations: 3.938 kB / 0.7495 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.664e-05/0.6269, allocations: 83.28 kB / 0.7495 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6269, allocations: 0 / 0.7495 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002284/0.6271, allocations: 16 kB / 0.7496 GB, free: 3.879 MB / 0.5261 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.0004252/0.6276, allocations: 0.7005 MB / 0.7502 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.542e-05/0.6276, allocations: 16 kB / 0.7503 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6276, allocations: 0 / 0.7503 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.968e-05/0.6277, allocations: 11.94 kB / 0.7503 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.6278, allocations: 0 / 0.7503 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.6282, allocations: 101.7 kB / 0.7504 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.6284, allocations: 0.6768 MB / 0.751 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.6285, allocations: 7.984 kB / 0.751 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.6285, allocations: 7.438 kB / 0.751 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.6285, allocations: 0 / 0.751 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.6463, allocations: 0.987 MB / 0.752 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.6465, allocations: 133.2 kB / 0.7521 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.419/2.065, allocations: 0 / 0.7521 GB, free: 1.094 MB / 0.5261 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)