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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00759/0.007591, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001863/0.001864, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9538/0.9538, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.91 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4376, allocations: 80.91 MB / 0.6642 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002164/0.4398, allocations: 1.451 MB / 0.6656 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006104/0.4404, allocations: 372.7 kB / 0.6659 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.4404, allocations: 1.312 kB / 0.6659 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.4405, allocations: 0 / 0.6659 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.426e-05/0.4405, allocations: 9.203 kB / 0.6659 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.4409, allocations: 116.2 kB / 0.666 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.441, allocations: 25.83 kB / 0.6661 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.682e-05/0.4411, allocations: 2.312 kB / 0.6661 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.4411, allocations: 15.55 kB / 0.6661 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.4412, allocations: 15.7 kB / 0.6661 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.4412, allocations: 2.562 kB / 0.6661 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003198/0.4415, allocations: 275.9 kB / 0.6664 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.4415, allocations: 3.938 kB / 0.6664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.4416, allocations: 14.58 kB / 0.6664 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.4417, allocations: 104.5 kB / 0.6665 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4417, allocations: 4 kB / 0.6665 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4418, allocations: 0 / 0.6665 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4418, allocations: 0 / 0.6665 GB, free: 5.488 MB / 0.4981 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.000369/0.4421, allocations: 366.1 kB / 0.6668 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4422, allocations: 8.906 kB / 0.6668 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.4422, allocations: 32.03 kB / 0.6669 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.4423, allocations: 2.031 kB / 0.6669 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.828e-05/0.4423, allocations: 170.8 kB / 0.667 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.4423, allocations: 9.406 kB / 0.6671 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.4424, allocations: 1.75 kB / 0.6671 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.4425, allocations: 49.95 kB / 0.6671 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.4425, allocations: 3.938 kB / 0.6671 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.4425, allocations: 3.938 kB / 0.6671 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4426, allocations: 1.375 kB / 0.6671 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.4427, allocations: 39.33 kB / 0.6671 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.443, allocations: 257.8 kB / 0.6674 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.4431, allocations: 39.19 kB / 0.6674 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.272e-05/0.4432, allocations: 18.56 kB / 0.6674 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000538/0.4437, allocations: 468.4 kB / 0.6679 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.4438, allocations: 35.41 kB / 0.6679 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4438, allocations: 0 / 0.6679 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003526/0.4441, allocations: 86.27 kB / 0.668 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.4442, allocations: 51.41 kB / 0.6681 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.824e-05/0.4442, allocations: 105.9 kB / 0.6682 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.812e-06/0.4442, allocations: 25.7 kB / 0.6682 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.521e-05/0.4443, allocations: 85.72 kB / 0.6683 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.4443, allocations: 9.344 kB / 0.6683 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.4443, allocations: 11.88 kB / 0.6683 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.4444, allocations: 316.5 kB / 0.6686 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.4444, allocations: 20.56 kB / 0.6686 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.4445, allocations: 13.64 kB / 0.6686 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.4447, allocations: 44.95 kB / 0.6687 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4447, allocations: 3.938 kB / 0.6687 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002073/0.4449, allocations: 70.03 kB / 0.6687 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4449, allocations: 5.25 kB / 0.6687 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4449, allocations: 0 / 0.6687 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4449, allocations: 0 / 0.6687 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.445, allocations: 10.39 kB / 0.6688 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.445, allocations: 1.219 kB / 0.6688 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.4451, allocations: 2.656 kB / 0.6688 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.4451, allocations: 1.531 kB / 0.6688 GB, free: 3.109 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.4451, allocations: 123 kB / 0.6689 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.4452, allocations: 6.531 kB / 0.6689 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.4454, allocations: 72.59 kB / 0.6689 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4454, allocations: 0 / 0.6689 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4454, allocations: 0 / 0.6689 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4454, allocations: 5.375 kB / 0.669 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.4455, allocations: 169.8 kB / 0.6691 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.4455, allocations: 5.5 kB / 0.6691 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.4456, allocations: 5.531 kB / 0.6691 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4456, allocations: 7.922 kB / 0.6691 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.4456, allocations: 1.375 kB / 0.6691 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4456, allocations: 0 / 0.6691 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4456, allocations: 1.469 kB / 0.6691 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.4458, allocations: 171.6 kB / 0.6693 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.4459, allocations: 78.45 kB / 0.6694 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.4459, allocations: 0 / 0.6694 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.446, allocations: 8.578 kB / 0.6694 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.446, allocations: 1.438 kB / 0.6694 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.446, allocations: 4 kB / 0.6694 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.739e-05/0.446, allocations: 85.34 kB / 0.6695 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.446, allocations: 0 / 0.6695 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002255/0.4463, allocations: 15.5 kB / 0.6695 GB, free: 2.352 MB / 0.4981 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 (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.000425/0.4467, allocations: 0.7187 MB / 0.6702 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.4469, allocations: 45.83 kB / 0.6702 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4469, allocations: 0 / 0.6702 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.447, allocations: 20.08 kB / 0.6703 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.4473, allocations: 5.047 kB / 0.6703 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.4477, allocations: 146.1 kB / 0.6704 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.4478, allocations: 0.6788 MB / 0.6711 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.4478, allocations: 5.125 kB / 0.6711 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.4479, allocations: 9 kB / 0.6711 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.4479, allocations: 0 / 0.6711 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.4651, allocations: 1.595 MB / 0.6726 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.818, allocations: 12.58 kB / 0.6726 GB, free: 15.85 MB / 0.5137 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/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)