Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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/Modelica 3.2.3+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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09435/0.09435, allocations: 12.59 MB / 28.22 MB, free: 0.7383 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 111.4 kB / 31.84 MB, free: 3.887 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 240.4 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.58/0.58, allocations: 78.52 MB / 419.3 MB, free: 11.29 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 129.8 kB / 0.5558 GB, free: 28.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1879, allocations: 68.14 MB / 0.6224 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009229/0.1972, allocations: 8.27 MB / 0.6304 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006811/0.2041, allocations: 2.574 MB / 0.633 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/0.2065, allocations: 12 kB / 0.633 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.2077, allocations: 313.4 kB / 0.6333 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004506/0.2122, allocations: 1.544 MB / 0.6348 GB, free: 2.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.2138, allocations: 0.6003 MB / 0.6354 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003853/0.2176, allocations: 2.558 MB / 0.6379 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006773/0.2183, allocations: 328.8 kB / 0.6382 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.2205, allocations: 1.008 MB / 0.6392 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/0.2229, allocations: 1.354 MB / 0.6405 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009961/0.2239, allocations: 204 kB / 0.6407 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.2254, allocations: 379.8 kB / 0.641 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000534/0.226, allocations: 0.5215 MB / 0.6415 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.227, allocations: 0.9907 MB / 0.6425 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.2301, allocations: 2.381 MB / 0.6448 GB, free: 8.324 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.2301, allocations: 0 / 0.6448 GB, free: 8.324 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.2301, allocations: 4 kB / 0.6448 GB, free: 8.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.675e-05/0.2302, allocations: 0 / 0.6448 GB, free: 8.32 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.02174/0.2519, allocations: 5.006 MB / 0.6497 GB, free: 3.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.563e-05/0.252, allocations: 11.98 kB / 0.6497 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004228/0.2562, allocations: 0.5888 MB / 0.6503 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/0.2599, allocations: 1.221 MB / 0.6515 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004108/0.2604, allocations: 268.8 kB / 0.6518 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00056/0.2609, allocations: 120 kB / 0.6519 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/0.264, allocations: 1.093 MB / 0.6529 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.2641, allocations: 0 / 0.6529 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.2642, allocations: 36 kB / 0.653 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.2643, allocations: 20 kB / 0.653 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/0.267, allocations: 1.179 MB / 0.6541 GB, free: 14.63 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009787/0.2768, allocations: 4.61 MB / 0.6587 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/0.2804, allocations: 2.145 MB / 0.6607 GB, free: 7.473 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.2821, allocations: 0.7895 MB / 0.6615 GB, free: 6.676 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.2822, allocations: 41.16 kB / 0.6616 GB, free: 6.637 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.2823, allocations: 47.81 kB / 0.6616 GB, free: 6.578 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 3.416e-06/0.2823, allocations: 0 / 0.6616 GB, free: 6.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=130): time 0.02824/0.3105, allocations: 6.692 MB / 0.6681 GB, free: 15.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.3107, allocations: 68.72 kB / 0.6682 GB, free: 15.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004659/0.3154, allocations: 1.651 MB / 0.6698 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006712/0.3161, allocations: 57.7 kB / 0.6699 GB, free: 14.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009347/0.317, allocations: 0.5582 MB / 0.6704 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.3181, allocations: 0.5191 MB / 0.6709 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002354/0.3205, allocations: 0.5173 MB / 0.6714 GB, free: 12.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3206, allocations: 305.1 kB / 0.6717 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/0.3237, allocations: 1.145 MB / 0.6728 GB, free: 10.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/0.3268, allocations: 1.356 MB / 0.6742 GB, free: 9.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005982/0.3329, allocations: 2.342 MB / 0.6764 GB, free: 7.223 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.377e-05/0.3329, allocations: 0 / 0.6764 GB, free: 7.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01085/0.3438, allocations: 4.095 MB / 0.6804 GB, free: 3.086 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.3438, allocations: 4 kB / 0.6805 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.3439, allocations: 4 kB / 0.6805 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/0.3548, allocations: 2.819 MB / 0.6832 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.3575, allocations: 483.3 kB / 0.6837 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006197/0.3638, allocations: 2.531 MB / 0.6861 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/0.3677, allocations: 242.5 kB / 0.6864 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007374/0.3685, allocations: 95.97 kB / 0.6865 GB, free: 12.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (281): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.001209/0.3697, allocations: 313.3 kB / 0.6868 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007349/0.3704, allocations: 178.8 kB / 0.6869 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.382, allocations: 3.546 MB / 0.6904 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/0.382, allocations: 12 kB / 0.6904 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.3821, allocations: 0 / 0.6904 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.3821, allocations: 11.97 kB / 0.6904 GB, free: 8.805 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.3984, allocations: 5.65 MB / 0.6959 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.3985, allocations: 4 kB / 0.6959 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.3995, allocations: 171.7 kB / 0.6961 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005711/0.4053, allocations: 1.492 MB / 0.6976 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.4055, allocations: 24 kB / 0.6976 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/0.4261, allocations: 7.862 MB / 0.7053 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4261, allocations: 0 / 0.7053 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/0.4407, allocations: 4.578 MB / 0.7097 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.4419, allocations: 311.6 kB / 0.71 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007692/0.4426, allocations: 24 kB / 0.7101 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/0.4447, allocations: 83.92 kB / 0.7101 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008021/0.4455, allocations: 189.5 kB / 0.7103 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/0.4458, allocations: 35.98 kB / 0.7103 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002326/0.4481, allocations: 1.09 MB / 0.7114 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4481, allocations: 0 / 0.7114 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002853/0.451, allocations: 0.5973 MB / 0.712 GB, free: 2.352 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.PSIkq) * 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 (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004904/0.4515, allocations: 155 kB / 0.7121 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.3913/0.8427, allocations: 2.999 MB / 0.7151 GB, free: 86.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.8428, allocations: 1.062 kB / 0.7151 GB, free: 86.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005242/0.848, allocations: 1.528 MB / 0.7166 GB, free: 85.99 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.8497, allocations: 131.9 kB / 0.7167 GB, free: 85.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006917/0.8567, allocations: 3.53 MB / 0.7201 GB, free: 84.35 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.8583, allocations: 1.233 MB / 0.7213 GB, free: 83.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001154/0.8595, allocations: 157.1 kB / 0.7215 GB, free: 83.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.8601, allocations: 106.1 kB / 0.7216 GB, free: 83.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.534e-06/0.8601, allocations: 4.781 kB / 0.7216 GB, free: 83.58 MB / 0.5137 GB Notification: Performance of Templates: time 0.05709/0.9172, allocations: 30.87 MB / 0.7517 GB, free: 67.92 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)