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.001359/0.001359, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001514/0.001514, allocations: 196.6 kB / 16.26 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.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8693/0.8693, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 64.38 kB / 0.505 GB, free: 5.586 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1265, allocations: 80.94 MB / 0.584 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002365/0.1289, allocations: 1.485 MB / 0.5854 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005885/0.1295, allocations: 391.5 kB / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.1296, allocations: 0 / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.1296, allocations: 3.938 kB / 0.5858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.836e-05/0.1297, allocations: 0 / 0.5858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.1301, allocations: 91.84 kB / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.157e-05/0.1301, allocations: 23.92 kB / 0.5859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.949e-05/0.1302, allocations: 12 kB / 0.5859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.637e-05/0.1303, allocations: 15.92 kB / 0.586 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.894e-05/0.1303, allocations: 3.984 kB / 0.586 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1303, allocations: 4 kB / 0.586 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.1306, allocations: 279.6 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.1306, allocations: 11.92 kB / 0.5862 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.1307, allocations: 15.92 kB / 0.5863 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.1308, allocations: 99.78 kB / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1309, allocations: 0 / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1309, allocations: 0 / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1309, allocations: 4 kB / 0.5864 GB, free: 2.367 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.000381/0.1313, allocations: 371.6 kB / 0.5867 GB, free: 1.953 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1313, allocations: 8.031 kB / 0.5867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.1313, allocations: 30.75 kB / 0.5867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.1314, allocations: 8.844 kB / 0.5868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.563e-05/0.1315, allocations: 160.4 kB / 0.5869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.1315, allocations: 4.375 kB / 0.5869 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.1315, allocations: 384 / 0.5869 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1317, allocations: 54.23 kB / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1317, allocations: 3.938 kB / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.1317, allocations: 0 / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.1317, allocations: 0 / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.1319, allocations: 35.95 kB / 0.587 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.1321, allocations: 256.9 kB / 0.5872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1322, allocations: 50.48 kB / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.598e-05/0.1323, allocations: 20.91 kB / 0.5873 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005818/0.1329, allocations: 461.5 kB / 0.5878 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.133, allocations: 30.56 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.133, allocations: 0 / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003218/0.1333, allocations: 89.48 kB / 0.5879 GB, free: 0.543 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.1333, allocations: 55.53 kB / 0.5879 GB, free: 488 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.1334, allocations: 102 kB / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.1334, allocations: 25.7 kB / 0.588 GB, free: 344 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.1334, allocations: 88.12 kB / 0.5881 GB, free: 252 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.1335, allocations: 11.84 kB / 0.5881 GB, free: 240 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.1335, allocations: 9.719 kB / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.1336, allocations: 318.8 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.1337, allocations: 23.91 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.1337, allocations: 20.05 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.1339, allocations: 36.83 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1339, allocations: 3.938 kB / 0.5885 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.1341, allocations: 73.59 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1341, allocations: 14.44 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1341, allocations: 0 / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.1341, allocations: 0 / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.1342, allocations: 7.984 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1342, allocations: 7.938 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.964e-05/0.1343, allocations: 0 / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.1343, allocations: 4 kB / 0.5886 GB, free: 15.7 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 5.549e-05/0.1343, allocations: 113.8 kB / 0.5887 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.1344, allocations: 8 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.1346, allocations: 73.12 kB / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1346, allocations: 0 / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1346, allocations: 4 kB / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1346, allocations: 0 / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1347, allocations: 161.6 kB / 0.589 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1347, allocations: 0 / 0.589 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.1348, allocations: 8 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1348, allocations: 8.016 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1348, allocations: 0 / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1348, allocations: 0 / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1348, allocations: 0 / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1351, allocations: 167.4 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.1351, allocations: 81.11 kB / 0.5892 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.1351, allocations: 7.969 kB / 0.5892 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.1352, allocations: 7.984 kB / 0.5892 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.1352, allocations: 4 kB / 0.5893 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1352, allocations: 0 / 0.5893 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.1353, allocations: 87.28 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1353, allocations: 0 / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00023/0.1355, allocations: 12 kB / 0.5893 GB, free: 14.87 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.0004712/0.136, allocations: 0.7163 MB / 0.59 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.1362, allocations: 43.83 kB / 0.5901 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1362, allocations: 4 kB / 0.5901 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.1363, allocations: 20.08 kB / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.1365, allocations: 4 kB / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.1368, allocations: 151 kB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.137, allocations: 0.6807 MB / 0.5909 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.1371, allocations: 0 / 0.5909 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.1371, allocations: 19.48 kB / 0.5909 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1371, allocations: 0 / 0.5909 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.154/2.291, allocations: 1.421 MB / 0.5923 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/2.291, allocations: 196.3 kB / 0.5925 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/4.319, allocations: 0 / 0.5925 GB, free: 11.59 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)