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.006964/0.006963, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001766/0.001766, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.411/1.411, 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/package.mo): time 0.7544/0.7544, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 68.8 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1935, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002763/0.1963, allocations: 1.43 MB / 0.6606 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007181/0.197, allocations: 391.4 kB / 0.661 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.1971, allocations: 0 / 0.661 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.1972, allocations: 0 / 0.661 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.1972, allocations: 7.938 kB / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.1977, allocations: 114.4 kB / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.413e-05/0.1978, allocations: 23.91 kB / 0.6611 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1979, allocations: 8 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.233e-05/0.1979, allocations: 15.92 kB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.198, allocations: 11.98 kB / 0.6611 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.198, allocations: 3.938 kB / 0.6611 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.1984, allocations: 271.7 kB / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.1984, allocations: 8 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.1985, allocations: 11.92 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.1987, allocations: 107.8 kB / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1987, allocations: 0 / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1987, allocations: 0 / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1987, allocations: 0 / 0.6615 GB, free: 11.6 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.0004728/0.1992, allocations: 366.3 kB / 0.6619 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1992, allocations: 12.03 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.1993, allocations: 34.69 kB / 0.6619 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.1993, allocations: 0.9375 kB / 0.6619 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1995, allocations: 173.1 kB / 0.6621 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1995, allocations: 384 / 0.6621 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1995, allocations: 384 / 0.6621 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1997, allocations: 50.23 kB / 0.6621 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1997, allocations: 7.938 kB / 0.6621 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1997, allocations: 0 / 0.6621 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1997, allocations: 4 kB / 0.6621 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.1999, allocations: 35.95 kB / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.2002, allocations: 256.8 kB / 0.6624 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.2003, allocations: 42.5 kB / 0.6625 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.2004, allocations: 28.91 kB / 0.6625 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006636/0.2011, allocations: 457.5 kB / 0.6629 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.2011, allocations: 30.56 kB / 0.663 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2011, allocations: 3.938 kB / 0.663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003779/0.2015, allocations: 93.5 kB / 0.6631 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.2016, allocations: 55.41 kB / 0.6631 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.2016, allocations: 102 kB / 0.6632 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2017, allocations: 33.7 kB / 0.6632 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.2017, allocations: 84.14 kB / 0.6633 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.2017, allocations: 3.906 kB / 0.6633 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.2018, allocations: 13.72 kB / 0.6633 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2019, allocations: 314.8 kB / 0.6636 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.202, allocations: 15.97 kB / 0.6636 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/0.2021, allocations: 23.98 kB / 0.6637 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2022, allocations: 36.83 kB / 0.6637 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2022, allocations: 3.938 kB / 0.6637 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000225/0.2025, allocations: 73.59 kB / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2025, allocations: 4 kB / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2025, allocations: 0 / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2025, allocations: 4.094 kB / 0.6638 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.2026, allocations: 11.98 kB / 0.6638 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2026, allocations: 3.984 kB / 0.6638 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.2027, allocations: 7.984 kB / 0.6638 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-06/0.2027, allocations: 0 / 0.6638 GB, free: 8.934 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 7.825e-05/0.2028, allocations: 114.4 kB / 0.6639 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.2028, allocations: 3.906 kB / 0.6639 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.203, allocations: 81.12 kB / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.203, allocations: 0 / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2031, allocations: 0 / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.2031, allocations: 0 / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.2032, allocations: 165.8 kB / 0.6642 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2032, allocations: 0 / 0.6642 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.2033, allocations: 11.98 kB / 0.6642 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2033, allocations: 0 / 0.6642 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.2033, allocations: 0 / 0.6642 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2033, allocations: 8.031 kB / 0.6642 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2033, allocations: 0 / 0.6642 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.2036, allocations: 163.5 kB / 0.6643 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.2037, allocations: 81.02 kB / 0.6644 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.2037, allocations: 3.938 kB / 0.6644 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.2038, allocations: 12.02 kB / 0.6644 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.2038, allocations: 11.94 kB / 0.6644 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.2038, allocations: 0 / 0.6644 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.2039, allocations: 79.28 kB / 0.6645 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2039, allocations: 0 / 0.6645 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002367/0.2041, allocations: 19.98 kB / 0.6645 GB, free: 8.086 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.0005929/0.2047, allocations: 0.7124 MB / 0.6652 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.2049, allocations: 43.89 kB / 0.6653 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2049, allocations: 0 / 0.6653 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.205, allocations: 19.98 kB / 0.6653 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2054, allocations: 4.156 kB / 0.6653 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.2059, allocations: 139.1 kB / 0.6654 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.2062, allocations: 0.6768 MB / 0.6661 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.2062, allocations: 4 kB / 0.6661 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.2063, allocations: 15.42 kB / 0.6661 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.2063, allocations: 0 / 0.6661 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.2256, allocations: 1.591 MB / 0.6677 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.603, allocations: 8.719 kB / 0.6677 GB, free: 4.875 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)