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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 180.9 kB / 7.651 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.9938/0.9938, allocations: 133.6 MB / 141.6 MB, free: 2.934 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.46/1.46, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.001111/0.001111, allocations: 94.27 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.939e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4518, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.6031, allocations: 111.2 MB / 0.7425 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.6034, allocations: 71.91 kB / 0.7426 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0132/0.6167, allocations: 4.34 MB / 0.7468 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.737e-06/0.6167, allocations: 3.984 kB / 0.7468 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.6167, allocations: 0 / 0.7468 GB, free: 7.02 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.0004596/0.6172, allocations: 358.4 kB / 0.7472 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.6173, allocations: 16.03 kB / 0.7472 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.6174, allocations: 3.906 kB / 0.7472 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.6175, allocations: 175 kB / 0.7474 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.6175, allocations: 0 / 0.7474 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.6176, allocations: 0 / 0.7474 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.273e-05/0.6177, allocations: 12 kB / 0.7474 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.092e-05/0.6177, allocations: 33.64 kB / 0.7474 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6178, allocations: 0 / 0.7474 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.6178, allocations: 0 / 0.7474 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.6178, allocations: 0 / 0.7474 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.6182, allocations: 253.5 kB / 0.7476 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.188e-05/0.6183, allocations: 22.58 kB / 0.7477 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.6184, allocations: 12.92 kB / 0.7477 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00067/0.619, allocations: 461.5 kB / 0.7481 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.6191, allocations: 38.5 kB / 0.7482 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.6191, allocations: 0 / 0.7482 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000248/0.6193, allocations: 49.59 kB / 0.7482 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.6194, allocations: 51.41 kB / 0.7483 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.327e-05/0.6195, allocations: 97 kB / 0.7483 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.6195, allocations: 25.7 kB / 0.7484 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.6196, allocations: 84.14 kB / 0.7485 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.6196, allocations: 3.906 kB / 0.7485 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.6196, allocations: 4 kB / 0.7485 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6197, allocations: 322.8 kB / 0.7488 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.6198, allocations: 8.031 kB / 0.7488 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/0.6198, allocations: 0 / 0.7488 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.6198, allocations: 11.94 kB / 0.7488 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6198, allocations: 0 / 0.7488 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.901e-05/0.6199, allocations: 45.64 kB / 0.7488 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.62, allocations: 4 kB / 0.7488 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.62, allocations: 3.984 kB / 0.7488 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.62, allocations: 4 kB / 0.7488 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.6201, allocations: 12.09 kB / 0.7489 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.6201, allocations: 0 / 0.7489 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.6202, allocations: 7.984 kB / 0.7489 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.6202, allocations: 7.938 kB / 0.7489 GB, free: 4.645 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 8.029e-05/0.6203, allocations: 104.9 kB / 0.749 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.619e-05/0.6204, allocations: 45.69 kB / 0.749 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.6204, allocations: 3.906 kB / 0.749 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.6205, allocations: 57.88 kB / 0.7491 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.6205, allocations: 4 kB / 0.7491 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6206, allocations: 0 / 0.7491 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6206, allocations: 0 / 0.7491 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.6207, allocations: 142.1 kB / 0.7492 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6207, allocations: 0 / 0.7492 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.6208, allocations: 11.98 kB / 0.7492 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.6208, allocations: 4 kB / 0.7492 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.6208, allocations: 0 / 0.7492 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6208, allocations: 4.031 kB / 0.7492 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6208, allocations: 0 / 0.7492 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.621, allocations: 143.5 kB / 0.7494 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.621, allocations: 77.11 kB / 0.7494 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.6211, allocations: 3.938 kB / 0.7494 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.6212, allocations: 11.98 kB / 0.7495 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.6212, allocations: 4.031 kB / 0.7495 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.6212, allocations: 0 / 0.7495 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.241e-05/0.6213, allocations: 83.28 kB / 0.7495 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6213, allocations: 4 kB / 0.7495 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000228/0.6215, allocations: 19.98 kB / 0.7496 GB, free: 3.848 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.0005217/0.622, allocations: 0.6928 MB / 0.7502 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.05e-05/0.6221, allocations: 12 kB / 0.7502 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6221, allocations: 0 / 0.7502 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.015e-05/0.6222, allocations: 11.88 kB / 0.7503 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.6224, allocations: 4 kB / 0.7503 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.6227, allocations: 89.64 kB / 0.7503 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.623, allocations: 0.6847 MB / 0.751 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.623, allocations: 4 kB / 0.751 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.623, allocations: 11.44 kB / 0.751 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.623, allocations: 0 / 0.751 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.6428, allocations: 0.9909 MB / 0.752 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.6431, allocations: 125.2 kB / 0.7521 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.183, allocations: 0 / 0.7521 GB, free: 1.074 MB / 0.5261 GB (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/linux/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)