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.001049/0.001049, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001123/0.001123, allocations: 193 kB / 16.13 MB, free: 6.656 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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9482/0.9482, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 67.42 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1268, allocations: 80.93 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002278/0.1291, allocations: 1.483 MB / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006502/0.1297, allocations: 407.6 kB / 0.5856 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.1298, allocations: 7.938 kB / 0.5857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.1298, allocations: 3.938 kB / 0.5857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.733e-05/0.1299, allocations: 11.92 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1301, allocations: 71.84 kB / 0.5857 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.1302, allocations: 19.94 kB / 0.5858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.45e-05/0.1303, allocations: 7.984 kB / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.041e-05/0.1303, allocations: 8 kB / 0.5858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.095e-05/0.1303, allocations: 15.92 kB / 0.5858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1304, allocations: 0 / 0.5858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.1307, allocations: 271.7 kB / 0.586 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.1307, allocations: 11.92 kB / 0.5861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.1307, allocations: 11.92 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1309, allocations: 95.84 kB / 0.5862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.255e-05/0.1309, allocations: 4 kB / 0.5862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1309, allocations: 0 / 0.5862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.1309, allocations: 3.938 kB / 0.5862 GB, free: 2.469 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.0003889/0.1313, allocations: 367.7 kB / 0.5865 GB, free: 2.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1314, allocations: 8.031 kB / 0.5865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.829e-05/0.1314, allocations: 30.75 kB / 0.5866 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.1314, allocations: 8.844 kB / 0.5866 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.981e-05/0.1315, allocations: 168.3 kB / 0.5867 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.1316, allocations: 384 / 0.5867 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.1316, allocations: 4.375 kB / 0.5867 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.1317, allocations: 54.22 kB / 0.5868 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1318, allocations: 3.938 kB / 0.5868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.1318, allocations: 4 kB / 0.5868 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1318, allocations: 0 / 0.5868 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.1319, allocations: 35.95 kB / 0.5868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.1322, allocations: 253 kB / 0.5871 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1323, allocations: 46.44 kB / 0.5871 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.1324, allocations: 20.91 kB / 0.5871 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/0.1331, allocations: 461.4 kB / 0.5876 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1331, allocations: 38.56 kB / 0.5876 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1331, allocations: 0 / 0.5876 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003358/0.1334, allocations: 85.55 kB / 0.5877 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.1335, allocations: 55.34 kB / 0.5877 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.1335, allocations: 105.8 kB / 0.5878 GB, free: 472 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1336, allocations: 29.83 kB / 0.5879 GB, free: 436 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.1336, allocations: 80.14 kB / 0.5879 GB, free: 352 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1336, allocations: 11.84 kB / 0.588 GB, free: 340 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.1337, allocations: 13.72 kB / 0.588 GB, free: 320 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.1338, allocations: 310.8 kB / 0.5883 GB, free: 0 / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.1339, allocations: 24.08 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.1339, allocations: 15.92 kB / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1341, allocations: 44.89 kB / 0.5883 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1341, allocations: 3.938 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002025/0.1343, allocations: 73.53 kB / 0.5884 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1343, allocations: 6.031 kB / 0.5884 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.1343, allocations: 0 / 0.5884 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1344, allocations: 8.031 kB / 0.5884 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/0.1344, allocations: 7.984 kB / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.1344, allocations: 0 / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.1345, allocations: 7.984 kB / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.1345, allocations: 0 / 0.5885 GB, free: 15.8 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.589e-05/0.1346, allocations: 117.8 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.1346, allocations: 0 / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.1348, allocations: 77.19 kB / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1348, allocations: 0 / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1349, allocations: 0 / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1349, allocations: 0 / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.135, allocations: 165.6 kB / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.135, allocations: 3.938 kB / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.1351, allocations: 7.984 kB / 0.5888 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1351, allocations: 4 kB / 0.5888 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.1351, allocations: 0 / 0.5888 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1351, allocations: 4.234 kB / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1351, allocations: 4.031 kB / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1354, allocations: 171.4 kB / 0.589 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.1354, allocations: 77.11 kB / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1354, allocations: 4 kB / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.1355, allocations: 3.984 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.1355, allocations: 8.031 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.1355, allocations: 0 / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.1356, allocations: 87.27 kB / 0.5892 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1356, allocations: 0 / 0.5892 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002178/0.1358, allocations: 12 kB / 0.5892 GB, free: 14.97 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.0005138/0.1363, allocations: 0.7124 MB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1365, allocations: 35.95 kB / 0.5899 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1365, allocations: 0 / 0.5899 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/0.1366, allocations: 23.92 kB / 0.5899 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.1369, allocations: 8.156 kB / 0.5899 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.1372, allocations: 167.9 kB / 0.5901 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.1374, allocations: 0.6731 MB / 0.5907 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.1375, allocations: 7.984 kB / 0.5908 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.1375, allocations: 7.438 kB / 0.5908 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1375, allocations: 0 / 0.5908 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/0.2727, allocations: 1.377 MB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.2729, allocations: 195.1 kB / 0.5923 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.378, allocations: 0.7656 kB / 0.5923 GB, free: 11.71 MB / 0.4981 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)