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.004827/0.004827, allocations: 101.5 kB / 15.73 MB, free: 6.062 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.001315/0.001315, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8097/0.8097, allocations: 135.6 MB / 426.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 70.27 kB / 0.5857 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1351, allocations: 81.02 MB / 0.6649 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002427/0.1375, allocations: 1.427 MB / 0.6663 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006622/0.1382, allocations: 391.5 kB / 0.6666 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.1382, allocations: 0 / 0.6666 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.1383, allocations: 3.938 kB / 0.6666 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.724e-05/0.1383, allocations: 4 kB / 0.6666 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.1387, allocations: 111.6 kB / 0.6667 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.537e-05/0.1387, allocations: 27.92 kB / 0.6668 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.296e-05/0.1388, allocations: 8 kB / 0.6668 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.1388, allocations: 11.92 kB / 0.6668 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.754e-05/0.1389, allocations: 4 kB / 0.6668 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1389, allocations: 4 kB / 0.6668 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.1393, allocations: 287.6 kB / 0.6671 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.247e-06/0.1393, allocations: 0 / 0.6671 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.1393, allocations: 15.92 kB / 0.6671 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.1395, allocations: 107.9 kB / 0.6672 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.1395, allocations: 0 / 0.6672 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.31e-07/0.1395, allocations: 0 / 0.6672 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.1395, allocations: 0 / 0.6672 GB, free: 3.207 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.0004109/0.1399, allocations: 371.1 kB / 0.6675 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.14, allocations: 9.109 kB / 0.6676 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.14, allocations: 38.75 kB / 0.6676 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.14, allocations: 0.9375 kB / 0.6676 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1402, allocations: 164.3 kB / 0.6677 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.1402, allocations: 4.375 kB / 0.6678 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-06/0.1402, allocations: 384 / 0.6678 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1403, allocations: 58.16 kB / 0.6678 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1404, allocations: 3.938 kB / 0.6678 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.1404, allocations: 0 / 0.6678 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-06/0.1404, allocations: 3.938 kB / 0.6678 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.1405, allocations: 39.95 kB / 0.6679 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.1408, allocations: 244.9 kB / 0.6681 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1409, allocations: 46.53 kB / 0.6681 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.187e-05/0.141, allocations: 28.84 kB / 0.6682 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006583/0.1417, allocations: 461.5 kB / 0.6686 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.1417, allocations: 30.56 kB / 0.6686 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.915e-06/0.1418, allocations: 4 kB / 0.6686 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003527/0.1421, allocations: 81.59 kB / 0.6687 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1422, allocations: 55.39 kB / 0.6688 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.1422, allocations: 101.9 kB / 0.6689 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1423, allocations: 25.7 kB / 0.6689 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.1423, allocations: 100.1 kB / 0.669 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.1423, allocations: 8.078 kB / 0.669 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.1424, allocations: 9.719 kB / 0.669 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1425, allocations: 318.8 kB / 0.6693 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.814e-05/0.1426, allocations: 15.92 kB / 0.6693 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-05/0.1427, allocations: 19.97 kB / 0.6693 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1428, allocations: 40.89 kB / 0.6694 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1428, allocations: 3.938 kB / 0.6694 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002136/0.1431, allocations: 65.66 kB / 0.6694 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1431, allocations: 8 kB / 0.6694 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.1431, allocations: 0 / 0.6694 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.1431, allocations: 0 / 0.6694 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.1432, allocations: 7.984 kB / 0.6695 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.1432, allocations: 8.281 kB / 0.6695 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.1432, allocations: 4 kB / 0.6695 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.1432, allocations: 11.94 kB / 0.6695 GB, free: 0.5352 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 6.844e-05/0.1433, allocations: 113.8 kB / 0.6696 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.1434, allocations: 4 kB / 0.6696 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.1436, allocations: 69.19 kB / 0.6697 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1436, allocations: 8.031 kB / 0.6697 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1436, allocations: 0 / 0.6697 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.1436, allocations: 0 / 0.6697 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1438, allocations: 165.5 kB / 0.6698 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1438, allocations: 0 / 0.6698 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.1438, allocations: 8 kB / 0.6698 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1439, allocations: 0 / 0.6698 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.1439, allocations: 0 / 0.6698 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1439, allocations: 3.984 kB / 0.6698 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1439, allocations: 0 / 0.6698 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1441, allocations: 171.4 kB / 0.67 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.1442, allocations: 89.03 kB / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.1442, allocations: 0 / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.1443, allocations: 7.938 kB / 0.6701 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.1443, allocations: 3.984 kB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1443, allocations: 0 / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.1444, allocations: 91.31 kB / 0.6702 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1444, allocations: 0 / 0.6702 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002218/0.1446, allocations: 12 kB / 0.6702 GB, free: 15.7 MB / 0.5137 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.0005878/0.1452, allocations: 0.7162 MB / 0.6709 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.1454, allocations: 39.97 kB / 0.6709 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1454, allocations: 0 / 0.6709 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.1455, allocations: 19.97 kB / 0.671 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1458, allocations: 9.5 kB / 0.671 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.1462, allocations: 139.2 kB / 0.6711 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.1465, allocations: 0.6807 MB / 0.6718 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.1465, allocations: 0 / 0.6718 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.1465, allocations: 11.44 kB / 0.6718 GB, free: 14 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1465, allocations: 0 / 0.6718 GB, free: 14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2128/0.3593, allocations: 1.596 MB / 0.6733 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.59, allocations: 4.625 kB / 0.6733 GB, free: 12.47 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)