Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.0007786/0.0007786, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009665/0.0009665, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7626/0.7626, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003085, allocations: 13.56 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3856, allocations: 81.58 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006132/0.3862, allocations: 313.3 kB / 0.5835 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005085/0.3868, allocations: 298.7 kB / 0.5838 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.073e-05/0.3868, allocations: 0 / 0.5838 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.3868, allocations: 2.156 kB / 0.5838 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.3868, allocations: 0 / 0.5838 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.3872, allocations: 69.92 kB / 0.5838 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.197e-05/0.3872, allocations: 2.828 kB / 0.5838 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.3872, allocations: 1.609 kB / 0.5838 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.151e-05/0.3873, allocations: 2.5 kB / 0.5838 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.106e-05/0.3873, allocations: 0.9062 kB / 0.5838 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.3873, allocations: 1.188 kB / 0.5838 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004066/0.3877, allocations: 264.9 kB / 0.5841 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.182e-06/0.3877, allocations: 3.938 kB / 0.5841 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.3877, allocations: 26.36 kB / 0.5841 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.3879, allocations: 59.67 kB / 0.5842 GB, free: 3.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3879, allocations: 1.094 kB / 0.5842 GB, free: 3.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3879, allocations: 0 / 0.5842 GB, free: 3.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3879, allocations: 0 / 0.5842 GB, free: 3.449 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001907/0.3881, allocations: 326.8 kB / 0.5845 GB, free: 3.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3881, allocations: 9.188 kB / 0.5845 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.061e-05/0.3882, allocations: 34.56 kB / 0.5845 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.3882, allocations: 5.578 kB / 0.5845 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.487e-05/0.3883, allocations: 160.9 kB / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.3883, allocations: 0 / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.3883, allocations: 5.766 kB / 0.5847 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.68e-05/0.3884, allocations: 28.22 kB / 0.5847 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3884, allocations: 0 / 0.5847 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.3884, allocations: 3.938 kB / 0.5847 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.3884, allocations: 1 kB / 0.5847 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.3884, allocations: 5.375 kB / 0.5847 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.867e-05/0.3885, allocations: 148.6 kB / 0.5849 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.134e-05/0.3886, allocations: 25.48 kB / 0.5849 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.326e-05/0.3886, allocations: 6.859 kB / 0.5849 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004/0.389, allocations: 424 kB / 0.5853 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.389, allocations: 31.78 kB / 0.5853 GB, free: 2.066 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.389, allocations: 5.156 kB / 0.5853 GB, free: 2.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.3892, allocations: 40.34 kB / 0.5854 GB, free: 2.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.764e-05/0.3892, allocations: 52.2 kB / 0.5854 GB, free: 1.961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.462e-05/0.3892, allocations: 89.86 kB / 0.5855 GB, free: 1.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.3892, allocations: 25.7 kB / 0.5855 GB, free: 1.832 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-06/0.3892, allocations: 80.8 kB / 0.5856 GB, free: 1.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.3893, allocations: 5.641 kB / 0.5856 GB, free: 1.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-06/0.3893, allocations: 0 / 0.5856 GB, free: 1.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.3893, allocations: 320.5 kB / 0.5859 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-06/0.3893, allocations: 5.094 kB / 0.5859 GB, free: 1.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.668e-06/0.3894, allocations: 1.062 kB / 0.5859 GB, free: 1.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.442e-05/0.3894, allocations: 1.703 kB / 0.5859 GB, free: 1.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3894, allocations: 0 / 0.5859 GB, free: 1.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.683e-05/0.3894, allocations: 38.14 kB / 0.586 GB, free: 1.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.3895, allocations: 4.219 kB / 0.586 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3895, allocations: 1.312 kB / 0.586 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.3895, allocations: 0 / 0.586 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.689e-05/0.3895, allocations: 2.734 kB / 0.586 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3895, allocations: 4.094 kB / 0.586 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-06/0.3895, allocations: 0.875 kB / 0.586 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3896, allocations: 5.484 kB / 0.586 GB, free: 1.379 MB / 430.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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.3896, allocations: 111.8 kB / 0.5861 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.3896, allocations: 4 kB / 0.5861 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.877e-05/0.3897, allocations: 36.62 kB / 0.5861 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3897, allocations: 4.641 kB / 0.5861 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3897, allocations: 0.6562 kB / 0.5861 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3897, allocations: 8.688 kB / 0.5861 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.751e-05/0.3898, allocations: 156.3 kB / 0.5863 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3898, allocations: 0.6562 kB / 0.5863 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.3898, allocations: 2.5 kB / 0.5863 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3898, allocations: 0 / 0.5863 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.3898, allocations: 1.344 kB / 0.5863 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3898, allocations: 0.8125 kB / 0.5863 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3898, allocations: 0 / 0.5863 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.119e-05/0.3899, allocations: 66.58 kB / 0.5864 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.3899, allocations: 77.11 kB / 0.5864 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.3899, allocations: 1.828 kB / 0.5864 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-06/0.39, allocations: 1.438 kB / 0.5864 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.39, allocations: 0.8906 kB / 0.5864 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.39, allocations: 0.9375 kB / 0.5864 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.108e-05/0.39, allocations: 75.28 kB / 0.5865 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.39, allocations: 0 / 0.5865 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001913/0.3902, allocations: 18.06 kB / 0.5865 GB, free: 0.7617 MB / 430.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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002642/0.3905, allocations: 0.614 MB / 0.5871 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.567e-05/0.3905, allocations: 8.109 kB / 0.5871 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3905, allocations: 1.406 kB / 0.5871 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.813e-06/0.3906, allocations: 5.188 kB / 0.5871 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.3907, allocations: 1.984 kB / 0.5871 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.3909, allocations: 106.9 kB / 0.5872 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.3912, allocations: 0.6713 MB / 0.5879 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.562e-05/0.3912, allocations: 5 kB / 0.5879 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.3912, allocations: 9.531 kB / 0.5879 GB, free: 15.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3912, allocations: 0 / 0.5879 GB, free: 15.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009776/0.401, allocations: 0.9812 MB / 0.5889 GB, free: 15.18 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.4012, allocations: 185.8 kB / 0.5891 GB, free: 14.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/1.991, allocations: 0.7812 kB / 0.5891 GB, free: 14.94 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: