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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001885/0.001885, allocations: 188 kB / 16.25 MB, free: 6.629 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6937/0.6937, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.19 kB / 0.5014 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1358, allocations: 80.2 MB / 0.5797 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002244/0.1381, allocations: 1.496 MB / 0.5811 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005734/0.1387, allocations: 391.5 kB / 0.5815 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.1387, allocations: 0 / 0.5815 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.1388, allocations: 0 / 0.5815 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.763e-05/0.1388, allocations: 15.86 kB / 0.5815 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.1392, allocations: 94.72 kB / 0.5816 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.212e-05/0.1392, allocations: 27.92 kB / 0.5816 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.013e-05/0.1393, allocations: 4 kB / 0.5816 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.1393, allocations: 11.98 kB / 0.5817 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.951e-05/0.1394, allocations: 11.92 kB / 0.5817 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1394, allocations: 4 kB / 0.5817 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.1397, allocations: 279.7 kB / 0.5819 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.1397, allocations: 3.938 kB / 0.5819 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.1397, allocations: 15.92 kB / 0.582 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.1399, allocations: 99.83 kB / 0.5821 GB, free: 6.559 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1399, allocations: 0 / 0.5821 GB, free: 6.559 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1399, allocations: 0 / 0.5821 GB, free: 6.559 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1399, allocations: 0 / 0.5821 GB, free: 6.559 MB / 494.1 MB 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.0003864/0.1403, allocations: 371.6 kB / 0.5824 GB, free: 6.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1404, allocations: 8.031 kB / 0.5824 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.1404, allocations: 34.75 kB / 0.5824 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.1404, allocations: 8.844 kB / 0.5825 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.1405, allocations: 168.3 kB / 0.5826 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.1405, allocations: 4.375 kB / 0.5826 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.1406, allocations: 384 / 0.5826 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1407, allocations: 50.23 kB / 0.5827 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1407, allocations: 3.938 kB / 0.5827 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.1407, allocations: 0 / 0.5827 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1407, allocations: 0 / 0.5827 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.1409, allocations: 39.95 kB / 0.5827 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.1412, allocations: 249 kB / 0.5829 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.1413, allocations: 42.44 kB / 0.583 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.315e-05/0.1414, allocations: 28.91 kB / 0.583 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/0.142, allocations: 461.5 kB / 0.5835 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.142, allocations: 34.56 kB / 0.5835 GB, free: 4.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.142, allocations: 0 / 0.5835 GB, free: 4.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003249/0.1423, allocations: 85.55 kB / 0.5836 GB, free: 4.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.1424, allocations: 55.34 kB / 0.5836 GB, free: 4.664 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.1425, allocations: 105.8 kB / 0.5837 GB, free: 4.551 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.1425, allocations: 25.7 kB / 0.5837 GB, free: 4.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.1425, allocations: 88.27 kB / 0.5838 GB, free: 4.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.1425, allocations: 15.78 kB / 0.5838 GB, free: 4.414 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.1426, allocations: 9.719 kB / 0.5839 GB, free: 4.398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.1427, allocations: 314.8 kB / 0.5842 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.1427, allocations: 19.97 kB / 0.5842 GB, free: 4.062 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.1428, allocations: 11.98 kB / 0.5842 GB, free: 4.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.143, allocations: 44.89 kB / 0.5842 GB, free: 4.004 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.143, allocations: 3.938 kB / 0.5842 GB, free: 4 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001891/0.1432, allocations: 69.59 kB / 0.5843 GB, free: 3.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1432, allocations: 11.94 kB / 0.5843 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.1432, allocations: 0 / 0.5843 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.1432, allocations: 0 / 0.5843 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.1433, allocations: 7.984 kB / 0.5843 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1433, allocations: 8.031 kB / 0.5843 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.1433, allocations: 3.984 kB / 0.5843 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1433, allocations: 4 kB / 0.5843 GB, free: 3.891 MB / 494.1 MB 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 5.885e-05/0.1434, allocations: 114.4 kB / 0.5844 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1435, allocations: 4 kB / 0.5844 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.1437, allocations: 69.17 kB / 0.5845 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1437, allocations: 8.031 kB / 0.5845 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1437, allocations: 0 / 0.5845 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1437, allocations: 0 / 0.5845 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.1438, allocations: 169.6 kB / 0.5847 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1438, allocations: 3.938 kB / 0.5847 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.1439, allocations: 11.98 kB / 0.5847 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1439, allocations: 0 / 0.5847 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1439, allocations: 0 / 0.5847 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1439, allocations: 0 / 0.5847 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1439, allocations: 256 / 0.5847 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.1441, allocations: 171.4 kB / 0.5849 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.1442, allocations: 81.11 kB / 0.5849 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1442, allocations: 4 kB / 0.5849 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.1443, allocations: 7.984 kB / 0.585 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.1443, allocations: 0 / 0.585 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1443, allocations: 4.031 kB / 0.585 GB, free: 3.156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.392e-05/0.1444, allocations: 87.28 kB / 0.585 GB, free: 3.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1444, allocations: 0 / 0.585 GB, free: 3.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1446, allocations: 15.98 kB / 0.5851 GB, free: 3.055 MB / 494.1 MB 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.0004711/0.1451, allocations: 0.7085 MB / 0.5857 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1453, allocations: 35.95 kB / 0.5858 GB, free: 2.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1453, allocations: 0 / 0.5858 GB, free: 2.281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.689e-05/0.1454, allocations: 27.86 kB / 0.5858 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1456, allocations: 4 kB / 0.5858 GB, free: 2.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.146, allocations: 159.1 kB / 0.586 GB, free: 2.055 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.1462, allocations: 0.6768 MB / 0.5866 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.275e-05/0.1462, allocations: 4 kB / 0.5866 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.1463, allocations: 11.42 kB / 0.5866 GB, free: 1.336 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1463, allocations: 0 / 0.5866 GB, free: 1.336 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08398/0.2303, allocations: 1.427 MB / 0.588 GB, free: 32 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.2305, allocations: 186.2 kB / 0.5882 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/1.943, allocations: 0 / 0.5882 GB, free: 15.77 MB / 0.4981 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/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)