Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01011/0.01011, allocations: 100.7 kB / 15.73 MB, free: 5.586 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.413/1.413, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001428/0.001428, allocations: 192.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5186/0.5186, allocations: 91.9 MB / 431.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 77.41 kB / 0.5727 GB, free: 33.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1505, allocations: 71.29 MB / 0.6423 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007465/0.158, allocations: 6.951 MB / 0.6491 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005026/0.163, allocations: 2.293 MB / 0.6513 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.1646, allocations: 8 kB / 0.6513 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.1659, allocations: 257.8 kB / 0.6516 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003582/0.1695, allocations: 1.002 MB / 0.6526 GB, free: 9.059 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.1711, allocations: 0.5893 MB / 0.6531 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.1741, allocations: 1.843 MB / 0.6549 GB, free: 6.625 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006285/0.1747, allocations: 272.8 kB / 0.6552 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.1763, allocations: 0.7393 MB / 0.6559 GB, free: 5.605 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/0.1784, allocations: 1.008 MB / 0.6569 GB, free: 4.594 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003107/0.1787, allocations: 160 kB / 0.6571 GB, free: 4.438 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007839/0.1795, allocations: 327.8 kB / 0.6574 GB, free: 4.117 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003824/0.1799, allocations: 398.5 kB / 0.6578 GB, free: 3.727 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008208/0.1807, allocations: 0.7653 MB / 0.6585 GB, free: 2.957 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.1829, allocations: 1.861 MB / 0.6603 GB, free: 1.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1829, allocations: 4 kB / 0.6603 GB, free: 1.086 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1829, allocations: 0 / 0.6603 GB, free: 1.086 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.1829, allocations: 0 / 0.6603 GB, free: 1.086 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.01232/0.1952, allocations: 3.325 MB / 0.6636 GB, free: 13.7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1953, allocations: 8.031 kB / 0.6636 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/0.1985, allocations: 0.526 MB / 0.6641 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.2, allocations: 0.9739 MB / 0.665 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002968/0.2003, allocations: 238.9 kB / 0.6653 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.2005, allocations: 88 kB / 0.6654 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.2027, allocations: 0.9793 MB / 0.6663 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.2028, allocations: 0 / 0.6663 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.2029, allocations: 27.98 kB / 0.6663 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.2029, allocations: 24 kB / 0.6664 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.2055, allocations: 1.089 MB / 0.6674 GB, free: 9.664 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.006253/0.2118, allocations: 3.727 MB / 0.6711 GB, free: 5.766 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.215, allocations: 1.663 MB / 0.6727 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.2166, allocations: 0.7143 MB / 0.6734 GB, free: 3.262 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.891e-05/0.2167, allocations: 20.98 kB / 0.6734 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.2167, allocations: 47.5 kB / 0.6735 GB, free: 3.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.166e-06/0.2167, allocations: 0 / 0.6735 GB, free: 3.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02251/0.2393, allocations: 5.596 MB / 0.6789 GB, free: 13.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.2394, allocations: 64.41 kB / 0.679 GB, free: 13.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.2413, allocations: 1.287 MB / 0.6802 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002344/0.2416, allocations: 49.64 kB / 0.6803 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.242, allocations: 477.6 kB / 0.6807 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/0.2424, allocations: 390.5 kB / 0.6811 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006863/0.2431, allocations: 387.2 kB / 0.6815 GB, free: 10.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.2432, allocations: 305.1 kB / 0.6818 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.2452, allocations: 0.9371 MB / 0.6827 GB, free: 9.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/0.2474, allocations: 1.113 MB / 0.6838 GB, free: 8.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/0.2514, allocations: 1.931 MB / 0.6857 GB, free: 6.543 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2514, allocations: 0 / 0.6857 GB, free: 6.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006865/0.2583, allocations: 3.036 MB / 0.6886 GB, free: 3.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.2583, allocations: 8 kB / 0.6886 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2583, allocations: 192 / 0.6886 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009043/0.2674, allocations: 2.28 MB / 0.6909 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.2694, allocations: 359.4 kB / 0.6912 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005454/0.2748, allocations: 2.271 MB / 0.6934 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/0.2778, allocations: 214.4 kB / 0.6936 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.2779, allocations: 67.98 kB / 0.6937 GB, free: 14.28 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 (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.0006403/0.2786, allocations: 265.5 kB / 0.6939 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.2789, allocations: 142.2 kB / 0.6941 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/0.2899, allocations: 3.346 MB / 0.6973 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.29, allocations: 15.98 kB / 0.6974 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.29, allocations: 0 / 0.6974 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.29, allocations: 3.984 kB / 0.6974 GB, free: 10.49 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.01341/0.3034, allocations: 5.027 MB / 0.7023 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.3035, allocations: 0 / 0.7023 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.3043, allocations: 135.8 kB / 0.7024 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005461/0.3098, allocations: 1.438 MB / 0.7038 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.3099, allocations: 16 kB / 0.7038 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/0.3298, allocations: 7.838 MB / 0.7115 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3299, allocations: 4 kB / 0.7115 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/0.3435, allocations: 4.236 MB / 0.7156 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006677/0.3442, allocations: 247.1 kB / 0.7158 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/0.3446, allocations: 27.88 kB / 0.7159 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.346, allocations: 95.89 kB / 0.716 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006331/0.3467, allocations: 188.7 kB / 0.7161 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.104e-05/0.3468, allocations: 24 kB / 0.7162 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001273/0.348, allocations: 0.8512 MB / 0.717 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.348, allocations: 4 kB / 0.717 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001462/0.3495, allocations: 483.7 kB / 0.7175 GB, free: 5.562 MB / 0.5137 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.0003452/0.3499, allocations: 143.6 kB / 0.7176 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007251/0.3571, allocations: 2.465 MB / 0.72 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3571, allocations: 0 / 0.72 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004344/0.3615, allocations: 1.356 MB / 0.7213 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.3626, allocations: 108.7 kB / 0.7214 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.3673, allocations: 2.651 MB / 0.724 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.368, allocations: 1.116 MB / 0.7251 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005061/0.3685, allocations: 116.7 kB / 0.7252 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/0.3688, allocations: 87.42 kB / 0.7253 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.3688, allocations: 0 / 0.7253 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of Templates: time 0.04336/0.4122, allocations: 25.02 MB / 0.7497 GB, free: 4.414 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)