Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001192, allocations: 103.8 kB / 16.29 MB, free: 5.949 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.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 188.5 kB / 290.2 MB, free: 2.371 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4556/0.4556, allocations: 78.53 MB / 418.9 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001564, allocations: 79.86 kB / 498.2 MB, free: 6.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1518, allocations: 68.19 MB / 0.5531 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.2714/0.4233, allocations: 8.199 MB / 0.5611 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005131/0.4285, allocations: 2.61 MB / 0.5636 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.4298, allocations: 11.03 kB / 0.5636 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008036/0.4307, allocations: 311.5 kB / 0.5639 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003936/0.4346, allocations: 1.502 MB / 0.5654 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.436, allocations: 0.5954 MB / 0.566 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003056/0.439, allocations: 2.558 MB / 0.5685 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005315/0.4396, allocations: 315.5 kB / 0.5688 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.4414, allocations: 1.002 MB / 0.5698 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.4431, allocations: 1.357 MB / 0.5711 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003787/0.4435, allocations: 201.6 kB / 0.5713 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009805/0.4445, allocations: 381.4 kB / 0.5716 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004207/0.445, allocations: 0.5236 MB / 0.5721 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008729/0.4458, allocations: 0.9834 MB / 0.5731 GB, free: 32.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.4481, allocations: 2.368 MB / 0.5754 GB, free: 31.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4481, allocations: 3.938 kB / 0.5754 GB, free: 31.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4481, allocations: 0 / 0.5754 GB, free: 31.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.677e-05/0.4481, allocations: 3.969 kB / 0.5754 GB, free: 31.77 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01928/0.4674, allocations: 4.948 MB / 0.5803 GB, free: 30.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4675, allocations: 8.25 kB / 0.5803 GB, free: 30.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003631/0.4711, allocations: 0.578 MB / 0.5808 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.4735, allocations: 1.218 MB / 0.582 GB, free: 29.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/0.4738, allocations: 267.8 kB / 0.5823 GB, free: 29.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.4741, allocations: 113 kB / 0.5824 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.4763, allocations: 1.089 MB / 0.5834 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.4763, allocations: 1.344 kB / 0.5835 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.4764, allocations: 34.91 kB / 0.5835 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.4765, allocations: 19.81 kB / 0.5835 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.4788, allocations: 1.186 MB / 0.5847 GB, free: 28.46 MB / 430.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.008409/0.4873, allocations: 4.601 MB / 0.5892 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.4906, allocations: 2.143 MB / 0.5912 GB, free: 24.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.4921, allocations: 0.7928 MB / 0.592 GB, free: 24.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.4922, allocations: 23.97 kB / 0.592 GB, free: 24.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.4923, allocations: 56.69 kB / 0.5921 GB, free: 23.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.617e-06/0.4923, allocations: 0 / 0.5921 GB, free: 23.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02881/0.5211, allocations: 6.687 MB / 0.5986 GB, free: 22.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.5212, allocations: 66.42 kB / 0.5987 GB, free: 22.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/0.5241, allocations: 1.657 MB / 0.6003 GB, free: 21.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004948/0.5246, allocations: 56.89 kB / 0.6004 GB, free: 21.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.5251, allocations: 0.5531 MB / 0.6009 GB, free: 21.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006111/0.5257, allocations: 0.4959 MB / 0.6014 GB, free: 20.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009467/0.5267, allocations: 0.5093 MB / 0.6019 GB, free: 20.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.5267, allocations: 306.3 kB / 0.6022 GB, free: 20.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/0.529, allocations: 1.146 MB / 0.6033 GB, free: 19.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.5316, allocations: 1.359 MB / 0.6046 GB, free: 19.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004393/0.536, allocations: 2.345 MB / 0.6069 GB, free: 18.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.536, allocations: 3.094 kB / 0.6069 GB, free: 18.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009844/0.5459, allocations: 4.082 MB / 0.6109 GB, free: 16.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.546, allocations: 5.906 kB / 0.6109 GB, free: 16.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.546, allocations: 1.25 kB / 0.6109 GB, free: 16.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/0.557, allocations: 2.824 MB / 0.6137 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/0.5596, allocations: 485.3 kB / 0.6141 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005171/0.5648, allocations: 2.523 MB / 0.6166 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/0.5679, allocations: 241.8 kB / 0.6168 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.5682, allocations: 95.97 kB / 0.6169 GB, free: 13.45 MB / 430.1 MB 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.0006392/0.5688, allocations: 313.3 kB / 0.6172 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.5692, allocations: 170.6 kB / 0.6174 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00937/0.5786, allocations: 3.539 MB / 0.6208 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.5786, allocations: 12 kB / 0.6208 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.5786, allocations: 0 / 0.6208 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.46e-05/0.5787, allocations: 7.969 kB / 0.6209 GB, free: 9.391 MB / 430.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 postOpt removeSimpleEquations (simulation): time 0.01203/0.5907, allocations: 5.667 MB / 0.6264 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.5908, allocations: 0 / 0.6264 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.5918, allocations: 167.7 kB / 0.6265 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004737/0.5966, allocations: 1.49 MB / 0.628 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002841/0.5969, allocations: 24 kB / 0.628 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01733/0.6142, allocations: 7.846 MB / 0.6357 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6143, allocations: 0 / 0.6357 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/0.6269, allocations: 4.568 MB / 0.6401 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008614/0.6278, allocations: 302.8 kB / 0.6404 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/0.6281, allocations: 24.81 kB / 0.6405 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.6296, allocations: 79.92 kB / 0.6405 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005942/0.6302, allocations: 193.5 kB / 0.6407 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.793e-05/0.6303, allocations: 36 kB / 0.6408 GB, free: 4.652 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001494/0.6318, allocations: 1.086 MB / 0.6418 GB, free: 3.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6318, allocations: 4 kB / 0.6418 GB, free: 3.566 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001749/0.6336, allocations: 0.5907 MB / 0.6424 GB, free: 2.977 MB / 446.1 MB 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.0003447/0.6339, allocations: 155.5 kB / 0.6425 GB, free: 2.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007908/0.6418, allocations: 3.006 MB / 0.6455 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6419, allocations: 0 / 0.6455 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004229/0.6461, allocations: 1.533 MB / 0.647 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.6475, allocations: 127.5 kB / 0.6471 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006023/0.6536, allocations: 3.476 MB / 0.6505 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.6543, allocations: 1.242 MB / 0.6517 GB, free: 9.492 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008184/0.6552, allocations: 156.2 kB / 0.6519 GB, free: 9.336 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/0.6556, allocations: 107.4 kB / 0.652 GB, free: 9.23 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6556, allocations: 0 / 0.652 GB, free: 9.23 MB / 462.1 MB Notification: Performance of Templates: time 0.04766/0.7033, allocations: 30.55 MB / 0.6818 GB, free: 10.82 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)