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.0008164/0.0008166, allocations: 87.11 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.0009313/0.0009313, 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.325/1.325, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8111/0.8111, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003429, allocations: 8 kB / 0.5035 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4189, allocations: 81.58 MB / 0.5832 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001328/0.4203, allocations: 1.154 MB / 0.5843 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005679/0.4209, allocations: 363 kB / 0.5846 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.4209, allocations: 0 / 0.5846 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.4209, allocations: 0.8438 kB / 0.5846 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.421, allocations: 7.438 kB / 0.5846 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.4213, allocations: 79.88 kB / 0.5847 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.226e-05/0.4213, allocations: 19.39 kB / 0.5847 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.4214, allocations: 3.75 kB / 0.5847 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.4215, allocations: 13.11 kB / 0.5847 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.367e-05/0.4215, allocations: 6.844 kB / 0.5847 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.4215, allocations: 2.062 kB / 0.5848 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.4219, allocations: 266.4 kB / 0.585 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.4219, allocations: 10.34 kB / 0.585 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.4219, allocations: 27.39 kB / 0.585 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.4221, allocations: 69.59 kB / 0.5851 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4221, allocations: 1.438 kB / 0.5851 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4221, allocations: 3.938 kB / 0.5851 GB, free: 2.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.4221, allocations: 0 / 0.5851 GB, free: 2.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003499/0.4225, allocations: 363.9 kB / 0.5855 GB, free: 2.383 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4225, allocations: 9.281 kB / 0.5855 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.4225, allocations: 31.59 kB / 0.5855 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.4226, allocations: 2.281 kB / 0.5855 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.247e-05/0.4227, allocations: 182.6 kB / 0.5857 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-06/0.4227, allocations: 0.75 kB / 0.5857 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.4227, allocations: 1.031 kB / 0.5857 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.4229, allocations: 58.47 kB / 0.5857 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4229, allocations: 0 / 0.5857 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.4229, allocations: 0 / 0.5857 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4229, allocations: 1.719 kB / 0.5857 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.4231, allocations: 45.92 kB / 0.5858 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.4233, allocations: 253.3 kB / 0.586 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.4234, allocations: 46 kB / 0.5861 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.4235, allocations: 32.92 kB / 0.5861 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/0.4241, allocations: 461.3 kB / 0.5865 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.4241, allocations: 31.69 kB / 0.5866 GB, free: 1.246 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4241, allocations: 0 / 0.5866 GB, free: 1.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.00035/0.4244, allocations: 100.2 kB / 0.5867 GB, free: 1.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.4245, allocations: 52.41 kB / 0.5867 GB, free: 1.141 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.169e-05/0.4245, allocations: 108.5 kB / 0.5868 GB, free: 1.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.4245, allocations: 29.83 kB / 0.5868 GB, free: 1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.4246, allocations: 85.47 kB / 0.5869 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.4246, allocations: 6.672 kB / 0.5869 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.4246, allocations: 0 / 0.5869 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.4247, allocations: 320.9 kB / 0.5872 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.4247, allocations: 23.17 kB / 0.5873 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-05/0.4248, allocations: 27.89 kB / 0.5873 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.4249, allocations: 19.08 kB / 0.5873 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4249, allocations: 3.938 kB / 0.5873 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001951/0.4251, allocations: 82.81 kB / 0.5874 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.4251, allocations: 5.188 kB / 0.5874 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4251, allocations: 0.7031 kB / 0.5874 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4252, allocations: 0 / 0.5874 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.4252, allocations: 11.84 kB / 0.5874 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4253, allocations: 0.7188 kB / 0.5874 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.4253, allocations: 19.98 kB / 0.5874 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.4253, allocations: 1.875 kB / 0.5874 GB, free: 0.5195 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 (2): * Single equations (assignments): 2 * 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 5.199e-05/0.4254, allocations: 109.5 kB / 0.5875 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.4254, allocations: 1.719 kB / 0.5875 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.4257, allocations: 96 kB / 0.5876 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4257, allocations: 0 / 0.5876 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4257, allocations: 2.172 kB / 0.5876 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4257, allocations: 0 / 0.5876 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.4258, allocations: 161.6 kB / 0.5878 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4258, allocations: 0 / 0.5878 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.4259, allocations: 15.47 kB / 0.5878 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4259, allocations: 0.6562 kB / 0.5878 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4259, allocations: 4.719 kB / 0.5878 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.4259, allocations: 0.9375 kB / 0.5878 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4259, allocations: 0.7031 kB / 0.5878 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.4261, allocations: 181.5 kB / 0.588 GB, free: 0 / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.4262, allocations: 82.44 kB / 0.5881 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.4262, allocations: 1.828 kB / 0.5881 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.4263, allocations: 7.844 kB / 0.5881 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.4263, allocations: 6.625 kB / 0.5881 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.4263, allocations: 1.891 kB / 0.5881 GB, free: 15.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.735e-05/0.4264, allocations: 81.83 kB / 0.5881 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4264, allocations: 0 / 0.5881 GB, free: 15.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.4266, allocations: 20.5 kB / 0.5882 GB, free: 15.82 MB / 446.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 (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.0005568/0.4272, allocations: 0.7194 MB / 0.5889 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.4274, allocations: 46.12 kB / 0.5889 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4274, allocations: 0 / 0.5889 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.4275, allocations: 26.42 kB / 0.5889 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.4278, allocations: 13.73 kB / 0.589 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.4282, allocations: 152.2 kB / 0.5891 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.4284, allocations: 0.6774 MB / 0.5898 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.538e-05/0.4285, allocations: 6.375 kB / 0.5898 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.4285, allocations: 9.031 kB / 0.5898 GB, free: 14.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4285, allocations: 3.938 kB / 0.5898 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.44, allocations: 1.312 MB / 0.5911 GB, free: 14.11 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.4403, allocations: 175.7 kB / 0.5912 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.097, allocations: 4 kB / 0.5912 GB, free: 13.86 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: