Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_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.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09615/0.09615, allocations: 12.6 MB / 28.9 MB, free: 0.625 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.001329/0.001329, allocations: 107.5 kB / 32.5 MB, free: 3.57 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.411/1.411, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001547/0.001547, allocations: 195.3 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.463/0.463, allocations: 78.52 MB / 420 MB, free: 11.23 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.0041/0.0041, allocations: 148 kB / 0.5565 GB, free: 28.49 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.119, allocations: 68.13 MB / 0.623 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.008504/0.1275, allocations: 7.008 MB / 0.6299 GB, free: 8.383 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004597/0.1321, allocations: 2.271 MB / 0.6321 GB, free: 6.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007218/0.1328, allocations: 8 kB / 0.6321 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000637/0.1335, allocations: 257.8 kB / 0.6323 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.1367, allocations: 1.286 MB / 0.6336 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.1378, allocations: 0.4948 MB / 0.6341 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002749/0.1406, allocations: 2.015 MB / 0.6361 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004198/0.141, allocations: 176.8 kB / 0.6362 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.1422, allocations: 0.7744 MB / 0.637 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.1436, allocations: 1.039 MB / 0.638 GB, free: 44 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003116/0.1439, allocations: 156 kB / 0.6381 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007125/0.1446, allocations: 339.7 kB / 0.6385 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003744/0.145, allocations: 406.4 kB / 0.6389 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007942/0.1458, allocations: 0.7731 MB / 0.6396 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002769/0.1485, allocations: 1.902 MB / 0.6415 GB, free: 12.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1485, allocations: 0 / 0.6415 GB, free: 12.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.055e-05/0.1485, allocations: 4 kB / 0.6415 GB, free: 12.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.574e-05/0.1486, allocations: 3.938 kB / 0.6415 GB, free: 12.46 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01706/0.1656, allocations: 3.936 MB / 0.6453 GB, free: 8.469 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1657, allocations: 11.98 kB / 0.6453 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003446/0.1691, allocations: 0.5268 MB / 0.6458 GB, free: 7.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.1709, allocations: 0.9867 MB / 0.6468 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.1713, allocations: 230.9 kB / 0.647 GB, free: 6.633 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.1715, allocations: 88 kB / 0.6471 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.1738, allocations: 0.9794 MB / 0.6481 GB, free: 5.562 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1738, allocations: 4 kB / 0.6481 GB, free: 5.559 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.1739, allocations: 28 kB / 0.6481 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.174, allocations: 16 kB / 0.6481 GB, free: 5.516 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.1769, allocations: 1.097 MB / 0.6492 GB, free: 4.418 MB / 462.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.006984/0.1839, allocations: 3.731 MB / 0.6528 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/0.1873, allocations: 1.602 MB / 0.6544 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.1889, allocations: 0.6573 MB / 0.655 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.587e-05/0.189, allocations: 13 kB / 0.655 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.1891, allocations: 47.55 kB / 0.6551 GB, free: 14.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 2.675e-06/0.1891, allocations: 0 / 0.6551 GB, free: 14.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02381/0.2129, allocations: 5.573 MB / 0.6605 GB, free: 8.461 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.2129, allocations: 60.41 kB / 0.6606 GB, free: 8.391 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.2152, allocations: 1.283 MB / 0.6618 GB, free: 7.098 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.2155, allocations: 49.7 kB / 0.6619 GB, free: 7.043 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/0.216, allocations: 482.2 kB / 0.6624 GB, free: 6.566 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005298/0.2165, allocations: 412.6 kB / 0.6627 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007116/0.2172, allocations: 387.4 kB / 0.6631 GB, free: 5.773 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2173, allocations: 301.1 kB / 0.6634 GB, free: 5.477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/0.2196, allocations: 0.941 MB / 0.6643 GB, free: 4.531 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/0.2222, allocations: 1.109 MB / 0.6654 GB, free: 3.391 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004767/0.2269, allocations: 1.931 MB / 0.6673 GB, free: 1.438 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.2269, allocations: 0 / 0.6673 GB, free: 1.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.01126/0.2382, allocations: 3.013 MB / 0.6702 GB, free: 14.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.2382, allocations: 8 kB / 0.6702 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.2382, allocations: 3.984 kB / 0.6702 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01437/0.2526, allocations: 2.28 MB / 0.6725 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002832/0.2554, allocations: 359.5 kB / 0.6728 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008779/0.2642, allocations: 2.28 MB / 0.675 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/0.2675, allocations: 226.7 kB / 0.6753 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003118/0.2679, allocations: 71.98 kB / 0.6753 GB, free: 9.164 MB / 494.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 (204): * Single equations (assignments): 203 * 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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0008264/0.2687, allocations: 257.5 kB / 0.6756 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004869/0.2692, allocations: 143 kB / 0.6757 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/0.283, allocations: 3.318 MB / 0.679 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.283, allocations: 12 kB / 0.679 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.283, allocations: 0 / 0.679 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/0.2831, allocations: 3.984 kB / 0.679 GB, free: 5.414 MB / 494.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.01502/0.2981, allocations: 5.004 MB / 0.6839 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.2981, allocations: 0 / 0.6839 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009215/0.299, allocations: 131.8 kB / 0.684 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006115/0.3051, allocations: 1.442 MB / 0.6854 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001702/0.3053, allocations: 20 kB / 0.6854 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02237/0.3277, allocations: 7.841 MB / 0.6931 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3277, allocations: 4 kB / 0.6931 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/0.3421, allocations: 4.213 MB / 0.6972 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005875/0.3427, allocations: 259.8 kB / 0.6974 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.3429, allocations: 19.94 kB / 0.6974 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.3443, allocations: 95.91 kB / 0.6975 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005974/0.3449, allocations: 180.7 kB / 0.6977 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/0.345, allocations: 28 kB / 0.6977 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001336/0.3463, allocations: 0.8513 MB / 0.6986 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3463, allocations: 3.938 kB / 0.6986 GB, free: 1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001392/0.3477, allocations: 483.7 kB / 0.699 GB, free: 0.5273 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.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 (71): * Single equations (assignments): 70 * 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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000344/0.3481, allocations: 143.7 kB / 0.6992 GB, free: 384 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008016/0.3561, allocations: 2.269 MB / 0.7014 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3561, allocations: 0 / 0.7014 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004886/0.361, allocations: 1.294 MB / 0.7027 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.3621, allocations: 112.7 kB / 0.7028 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/0.3678, allocations: 2.688 MB / 0.7054 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008463/0.3686, allocations: 1.116 MB / 0.7065 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006256/0.3692, allocations: 128.7 kB / 0.7066 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.3697, allocations: 83.41 kB / 0.7067 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of SimCode: time 1.082e-06/0.3697, allocations: 0 / 0.7067 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of Templates: time 0.2632/0.6329, allocations: 25.19 MB / 0.7313 GB, free: 81.72 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)