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.01004/0.01004, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7955/0.7955, allocations: 135.2 MB / 151 MB, free: 13.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.526/1.526, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.0008729/0.0008726, allocations: 88.48 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004096, allocations: 8 kB / 0.5691 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.476, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.675, allocations: 111.9 MB / 0.7588 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.6753, allocations: 75.95 kB / 0.7589 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01328/0.6886, allocations: 4.351 MB / 0.7632 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.006e-06/0.6887, allocations: 0 / 0.7632 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.6887, allocations: 4 kB / 0.7632 GB, free: 15.58 MB / 0.5417 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.0005541/0.6893, allocations: 383.1 kB / 0.7635 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.6893, allocations: 12.02 kB / 0.7635 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.6894, allocations: 30.56 kB / 0.7636 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.672e-05/0.6894, allocations: 0 / 0.7636 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.6896, allocations: 170.9 kB / 0.7637 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.6896, allocations: 3.938 kB / 0.7637 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.6896, allocations: 4 kB / 0.7637 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.6899, allocations: 57.67 kB / 0.7638 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.6899, allocations: 0 / 0.7638 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.6899, allocations: 0 / 0.7638 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6899, allocations: 0 / 0.7638 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.6901, allocations: 55.89 kB / 0.7639 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.6905, allocations: 264.9 kB / 0.7641 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.6907, allocations: 46.56 kB / 0.7641 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006085/0.6913, allocations: 461.5 kB / 0.7646 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.6913, allocations: 34.56 kB / 0.7646 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.6913, allocations: 0 / 0.7646 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003937/0.6917, allocations: 101.6 kB / 0.7647 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.6918, allocations: 55.41 kB / 0.7648 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.155e-05/0.6919, allocations: 93 kB / 0.7649 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.6919, allocations: 29.7 kB / 0.7649 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.692, allocations: 88.12 kB / 0.765 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.692, allocations: 7.844 kB / 0.765 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.692, allocations: 128 / 0.765 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6921, allocations: 322.8 kB / 0.7653 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.6922, allocations: 19.98 kB / 0.7653 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.379e-05/0.6923, allocations: 23.97 kB / 0.7653 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.535e-05/0.6924, allocations: 24.05 kB / 0.7654 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6924, allocations: 0 / 0.7654 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002109/0.6926, allocations: 81.59 kB / 0.7654 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.6927, allocations: 15.97 kB / 0.7654 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6927, allocations: 0 / 0.7654 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.6927, allocations: 3.984 kB / 0.7654 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.6928, allocations: 8 kB / 0.7655 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.6928, allocations: 0 / 0.7655 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.6929, allocations: 11.98 kB / 0.7655 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.6929, allocations: 0 / 0.7655 GB, free: 12.91 MB / 0.5417 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.0001428/0.693, allocations: 113.8 kB / 0.7656 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.6931, allocations: 7.906 kB / 0.7656 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.6933, allocations: 89.11 kB / 0.7657 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.6934, allocations: 0 / 0.7657 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6934, allocations: 4.031 kB / 0.7657 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6934, allocations: 0 / 0.7657 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.6936, allocations: 165.6 kB / 0.7658 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6936, allocations: 0 / 0.7658 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.6936, allocations: 11.98 kB / 0.7658 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6936, allocations: 0 / 0.7658 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.6937, allocations: 3.938 kB / 0.7658 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6937, allocations: 0 / 0.7658 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6937, allocations: 4 kB / 0.7659 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.694, allocations: 171.5 kB / 0.766 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.694, allocations: 85.02 kB / 0.7661 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.694, allocations: 7.984 kB / 0.7661 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.6941, allocations: 8.031 kB / 0.7661 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.6942, allocations: 7.984 kB / 0.7661 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.6942, allocations: 4.188 kB / 0.7661 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.777e-05/0.6943, allocations: 83.28 kB / 0.7662 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6943, allocations: 0 / 0.7662 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000228/0.6945, allocations: 20 kB / 0.7662 GB, free: 12.04 MB / 0.5417 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.0006697/0.6952, allocations: 0.7241 MB / 0.7669 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.6954, allocations: 48 kB / 0.767 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6954, allocations: 0 / 0.767 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.926e-05/0.6955, allocations: 27.92 kB / 0.767 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.6957, allocations: 4.109 kB / 0.767 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.6962, allocations: 155.3 kB / 0.7672 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.6965, allocations: 0.6809 MB / 0.7678 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.6965, allocations: 0 / 0.7678 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.6966, allocations: 15.44 kB / 0.7678 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/0.6966, allocations: 0 / 0.7678 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.7104, allocations: 1.283 MB / 0.7691 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.7106, allocations: 173.6 kB / 0.7692 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.181, allocations: 0 / 0.7692 GB, free: 8.879 MB / 0.5417 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)