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.09043/0.09043, allocations: 12.6 MB / 28.91 MB, free: 408 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.001201, allocations: 103.5 kB / 32.5 MB, free: 3.418 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.612/1.612, 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.001377/0.001377, allocations: 188.5 kB / 291.4 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4748/0.4748, allocations: 78.51 MB / 420 MB, free: 10.75 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.002522/0.002523, allocations: 139.8 kB / 0.5565 GB, free: 17.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1497, allocations: 68.11 MB / 0.623 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.008627/0.1584, allocations: 7.009 MB / 0.6299 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005338/0.1637, allocations: 2.255 MB / 0.6321 GB, free: 3.855 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.1653, allocations: 8 kB / 0.6321 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.1664, allocations: 261.8 kB / 0.6323 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004204/0.1706, allocations: 1.246 MB / 0.6335 GB, free: 2.352 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.172, allocations: 0.4913 MB / 0.634 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003288/0.1753, allocations: 2.019 MB / 0.636 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006042/0.1759, allocations: 260.8 kB / 0.6362 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.1774, allocations: 0.7706 MB / 0.637 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.1792, allocations: 1.047 MB / 0.638 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006661/0.1799, allocations: 156 kB / 0.6382 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.1811, allocations: 335.8 kB / 0.6385 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006751/0.1818, allocations: 406.5 kB / 0.6389 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.1832, allocations: 0.7731 MB / 0.6396 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.1861, allocations: 1.896 MB / 0.6415 GB, free: 10.19 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.1861, allocations: 0 / 0.6415 GB, free: 10.19 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1861, allocations: 3.938 kB / 0.6415 GB, free: 10.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.42e-05/0.1862, allocations: 0 / 0.6415 GB, free: 10.18 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.01692/0.2031, allocations: 3.894 MB / 0.6453 GB, free: 6.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.2032, allocations: 11.98 kB / 0.6453 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/0.2069, allocations: 0.5181 MB / 0.6458 GB, free: 5.699 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.2091, allocations: 0.9817 MB / 0.6468 GB, free: 4.664 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003304/0.2094, allocations: 234.9 kB / 0.647 GB, free: 4.402 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/0.2097, allocations: 88 kB / 0.6471 GB, free: 4.316 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.2119, allocations: 0.9832 MB / 0.648 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.2119, allocations: 0 / 0.648 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.084e-05/0.212, allocations: 24 kB / 0.6481 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.212, allocations: 19.98 kB / 0.6481 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.2145, allocations: 1.085 MB / 0.6491 GB, free: 2.199 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.006408/0.221, allocations: 3.731 MB / 0.6528 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.2242, allocations: 1.67 MB / 0.6544 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.2258, allocations: 0.7159 MB / 0.6551 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.2259, allocations: 20.98 kB / 0.6551 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.2259, allocations: 47.44 kB / 0.6552 GB, free: 11.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.206e-06/0.2259, allocations: 0 / 0.6552 GB, free: 11.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02213/0.2481, allocations: 5.596 MB / 0.6606 GB, free: 6.082 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.2482, allocations: 64.41 kB / 0.6607 GB, free: 6.008 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/0.2508, allocations: 1.283 MB / 0.6619 GB, free: 4.715 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003559/0.2512, allocations: 49.7 kB / 0.662 GB, free: 4.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005689/0.2518, allocations: 477.7 kB / 0.6625 GB, free: 4.188 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007084/0.2525, allocations: 394.5 kB / 0.6628 GB, free: 3.797 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/0.2538, allocations: 379.4 kB / 0.6632 GB, free: 3.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2539, allocations: 305.1 kB / 0.6635 GB, free: 3.117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/0.2563, allocations: 0.941 MB / 0.6644 GB, free: 2.172 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.2587, allocations: 1.109 MB / 0.6655 GB, free: 1.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/0.263, allocations: 1.931 MB / 0.6674 GB, free: 15.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-06/0.263, allocations: 3.938 kB / 0.6674 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007571/0.2706, allocations: 3.039 MB / 0.6703 GB, free: 12.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.2707, allocations: 8 kB / 0.6703 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.2707, allocations: 0 / 0.6703 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009084/0.2798, allocations: 2.276 MB / 0.6726 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.2818, allocations: 359.4 kB / 0.6729 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/0.2875, allocations: 2.28 MB / 0.6751 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/0.2901, allocations: 222.3 kB / 0.6754 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003754/0.2905, allocations: 67.98 kB / 0.6754 GB, free: 6.785 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.0008634/0.2914, allocations: 265.5 kB / 0.6757 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005353/0.2919, allocations: 134.2 kB / 0.6758 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/0.3031, allocations: 3.342 MB / 0.6791 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/0.3032, allocations: 15.98 kB / 0.6791 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.3032, allocations: 0 / 0.6791 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.3032, allocations: 7.984 kB / 0.6791 GB, free: 3.004 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.3937/0.6969, allocations: 5.025 MB / 0.684 GB, free: 53.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/0.697, allocations: 0.7031 kB / 0.684 GB, free: 53.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.698, allocations: 131.9 kB / 0.6841 GB, free: 53.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006529/0.7046, allocations: 1.436 MB / 0.6855 GB, free: 53.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002498/0.7048, allocations: 27.39 kB / 0.6855 GB, free: 53.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02386/0.7287, allocations: 7.826 MB / 0.6932 GB, free: 50.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7288, allocations: 0 / 0.6932 GB, free: 50.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.7426, allocations: 4.235 MB / 0.6973 GB, free: 49.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/0.7433, allocations: 249.4 kB / 0.6976 GB, free: 48.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.7436, allocations: 25.31 kB / 0.6976 GB, free: 48.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.7449, allocations: 93.86 kB / 0.6977 GB, free: 48.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006619/0.7456, allocations: 186 kB / 0.6979 GB, free: 48.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.943e-05/0.7457, allocations: 27.89 kB / 0.6979 GB, free: 48.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001258/0.7469, allocations: 0.8459 MB / 0.6987 GB, free: 48.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.747, allocations: 1.594 kB / 0.6987 GB, free: 48.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001828/0.7488, allocations: 482.5 kB / 0.6992 GB, free: 48.47 MB / 494.1 MB 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.0003339/0.7491, allocations: 147.6 kB / 0.6993 GB, free: 48.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008007/0.7571, allocations: 2.468 MB / 0.7017 GB, free: 47.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.7572, allocations: 0 / 0.7017 GB, free: 47.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004595/0.7618, allocations: 1.344 MB / 0.703 GB, free: 47.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.7632, allocations: 114.9 kB / 0.7031 GB, free: 47.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005554/0.7687, allocations: 2.686 MB / 0.7058 GB, free: 45.47 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.7696, allocations: 1.115 MB / 0.7069 GB, free: 44.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/0.7701, allocations: 91.78 kB / 0.7069 GB, free: 44.73 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7701, allocations: 0 / 0.7069 GB, free: 44.73 MB / 494.1 MB Notification: Performance of Templates: time 0.02496/0.7951, allocations: 21.37 MB / 0.7278 GB, free: 28.15 MB / 494.1 MB 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)