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.06286/0.06286, allocations: 12.6 MB / 28.76 MB, free: 0.9375 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.0008795/0.0008795, allocations: 113.7 kB / 32.36 MB, free: 3.938 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.1/1.1, allocations: 205.1 MB / 241 MB, free: 12.43 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.001117/0.001116, allocations: 184.5 kB / 291.2 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3707/0.3707, allocations: 78.51 MB / 419.8 MB, free: 11.35 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.002402/0.002402, allocations: 139.8 kB / 0.4887 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2135, allocations: 68.11 MB / 0.5552 GB, free: 32.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.005882/0.2195, allocations: 8.257 MB / 0.5633 GB, free: 26.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.2226, allocations: 2.592 MB / 0.5658 GB, free: 24.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.223, allocations: 9.938 kB / 0.5658 GB, free: 24.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.2234, allocations: 305.6 kB / 0.5661 GB, free: 24.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.2257, allocations: 1.508 MB / 0.5676 GB, free: 23.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.2264, allocations: 0.5907 MB / 0.5682 GB, free: 22.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.228, allocations: 2.55 MB / 0.5707 GB, free: 21.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.2284, allocations: 324.3 kB / 0.571 GB, free: 20.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006598/0.2291, allocations: 1.011 MB / 0.572 GB, free: 20.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009185/0.23, allocations: 1.349 MB / 0.5733 GB, free: 19.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002712/0.2303, allocations: 203.2 kB / 0.5735 GB, free: 19.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005343/0.2308, allocations: 383.9 kB / 0.5738 GB, free: 19.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.2311, allocations: 0.5167 MB / 0.5743 GB, free: 18.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000558/0.2317, allocations: 0.9838 MB / 0.5753 GB, free: 18.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.233, allocations: 2.351 MB / 0.5776 GB, free: 16.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.233, allocations: 1.188 kB / 0.5776 GB, free: 16.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.233, allocations: 0 / 0.5776 GB, free: 16.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.233, allocations: 0 / 0.5776 GB, free: 16.34 MB / 398.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.01652/0.2495, allocations: 4.949 MB / 0.5824 GB, free: 11.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.2496, allocations: 15.98 kB / 0.5825 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/0.2527, allocations: 0.5721 MB / 0.583 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.2539, allocations: 1.22 MB / 0.5842 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.2541, allocations: 268.8 kB / 0.5845 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.2542, allocations: 111.9 kB / 0.5846 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.2558, allocations: 1.093 MB / 0.5856 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2558, allocations: 4 kB / 0.5856 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-05/0.2559, allocations: 32 kB / 0.5857 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.256, allocations: 24 kB / 0.5857 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.2578, allocations: 1.183 MB / 0.5868 GB, free: 6.961 MB / 398.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.004969/0.2628, allocations: 4.614 MB / 0.5913 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.2652, allocations: 2.144 MB / 0.5934 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.2666, allocations: 0.7982 MB / 0.5942 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.159e-05/0.2667, allocations: 21.3 kB / 0.5942 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.2667, allocations: 43.88 kB / 0.5943 GB, free: 14.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 2.104e-06/0.2667, allocations: 0 / 0.5943 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.02398/0.2907, allocations: 6.695 MB / 0.6008 GB, free: 8.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.2907, allocations: 64.72 kB / 0.6009 GB, free: 8.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.2926, allocations: 1.663 MB / 0.6025 GB, free: 6.445 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.2927, allocations: 57.7 kB / 0.6026 GB, free: 6.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.2931, allocations: 0.5535 MB / 0.6031 GB, free: 5.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/0.2935, allocations: 0.4971 MB / 0.6036 GB, free: 5.316 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007257/0.2942, allocations: 0.5055 MB / 0.6041 GB, free: 4.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.2943, allocations: 301.1 kB / 0.6044 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.2963, allocations: 1.149 MB / 0.6055 GB, free: 3.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/0.2985, allocations: 1.356 MB / 0.6068 GB, free: 1.973 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00388/0.3023, allocations: 2.35 MB / 0.6091 GB, free: 15.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3024, allocations: 0 / 0.6091 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008149/0.3105, allocations: 4.078 MB / 0.6131 GB, free: 11.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3105, allocations: 11.94 kB / 0.6131 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3106, allocations: 0 / 0.6131 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009765/0.3203, allocations: 2.827 MB / 0.6159 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.3221, allocations: 487.3 kB / 0.6163 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004924/0.3271, allocations: 2.527 MB / 0.6188 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.3291, allocations: 241.9 kB / 0.619 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.3292, allocations: 91.97 kB / 0.6191 GB, free: 5.258 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.0004723/0.3297, allocations: 321.3 kB / 0.6194 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.33, allocations: 165.8 kB / 0.6196 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009923/0.3399, allocations: 3.554 MB / 0.6231 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.3399, allocations: 20 kB / 0.6231 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3399, allocations: 0 / 0.6231 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.3399, allocations: 7.969 kB / 0.6231 GB, free: 1.168 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.01188/0.3518, allocations: 5.654 MB / 0.6286 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3518, allocations: 0 / 0.6286 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000848/0.3527, allocations: 159.8 kB / 0.6288 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00487/0.3576, allocations: 1.488 MB / 0.6302 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.7e-05/0.3577, allocations: 31.98 kB / 0.6302 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01653/0.3742, allocations: 7.861 MB / 0.6379 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3742, allocations: 0 / 0.6379 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.3855, allocations: 4.556 MB / 0.6424 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.3858, allocations: 310.6 kB / 0.6427 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.386, allocations: 24 kB / 0.6427 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.3873, allocations: 83.86 kB / 0.6428 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/0.3877, allocations: 181.5 kB / 0.6429 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/0.3878, allocations: 35.98 kB / 0.643 GB, free: 12.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001275/0.3891, allocations: 1.094 MB / 0.644 GB, free: 11.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3891, allocations: 4 kB / 0.644 GB, free: 11.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001134/0.3902, allocations: 0.5972 MB / 0.6446 GB, free: 10.75 MB / 462.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.0002488/0.3905, allocations: 159 kB / 0.6448 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007604/0.3981, allocations: 3.049 MB / 0.6478 GB, free: 7.539 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3981, allocations: 0 / 0.6478 GB, free: 7.539 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003837/0.4019, allocations: 1.516 MB / 0.6492 GB, free: 6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007825/0.4027, allocations: 129.6 kB / 0.6494 GB, free: 5.871 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/0.4078, allocations: 3.556 MB / 0.6528 GB, free: 2.301 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.4084, allocations: 1.234 MB / 0.654 GB, free: 1.035 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/0.4089, allocations: 111.4 kB / 0.6541 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4089, allocations: 0 / 0.6541 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of Templates: time 0.02634/0.4352, allocations: 26.5 MB / 0.68 GB, free: 6.414 MB / 494.1 MB 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)