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.001163/0.001164, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.414/1.414, allocations: 222.9 MB / 240.1 MB, free: 4.562 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.001606/0.001606, allocations: 184.4 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.525/0.525, allocations: 91.89 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 78.27 kB / 0.5734 GB, free: 33.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1431, allocations: 71.28 MB / 0.643 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007597/0.1507, allocations: 6.956 MB / 0.6498 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004905/0.1557, allocations: 2.297 MB / 0.652 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.1569, allocations: 8 kB / 0.652 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008582/0.1578, allocations: 261.8 kB / 0.6523 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.1608, allocations: 0.9628 MB / 0.6532 GB, free: 9.113 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1623, allocations: 0.582 MB / 0.6538 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002658/0.165, allocations: 1.847 MB / 0.6556 GB, free: 6.684 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005976/0.1656, allocations: 268.7 kB / 0.6558 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.1669, allocations: 0.7471 MB / 0.6566 GB, free: 5.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.1686, allocations: 1.004 MB / 0.6575 GB, free: 4.652 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005929/0.1692, allocations: 156 kB / 0.6577 GB, free: 4.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009539/0.1702, allocations: 327.8 kB / 0.658 GB, free: 4.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.1705, allocations: 406.4 kB / 0.6584 GB, free: 3.781 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.1712, allocations: 0.7615 MB / 0.6591 GB, free: 3.016 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.1733, allocations: 1.861 MB / 0.661 GB, free: 1.148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.1733, allocations: 0 / 0.661 GB, free: 1.148 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1733, allocations: 0 / 0.661 GB, free: 1.148 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.1733, allocations: 0 / 0.661 GB, free: 1.148 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.01242/0.1857, allocations: 3.332 MB / 0.6642 GB, free: 13.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.1858, allocations: 8.031 kB / 0.6642 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/0.189, allocations: 0.5143 MB / 0.6647 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.1909, allocations: 0.9855 MB / 0.6657 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003794/0.1913, allocations: 234.9 kB / 0.6659 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.1915, allocations: 84 kB / 0.666 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.1938, allocations: 0.9794 MB / 0.6669 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.1938, allocations: 0 / 0.6669 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.595e-05/0.1939, allocations: 28 kB / 0.667 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.194, allocations: 16 kB / 0.667 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/0.1966, allocations: 1.093 MB / 0.668 GB, free: 9.73 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.007286/0.2039, allocations: 3.727 MB / 0.6717 GB, free: 5.832 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003467/0.2074, allocations: 1.675 MB / 0.6733 GB, free: 4.035 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.209, allocations: 0.7113 MB / 0.674 GB, free: 3.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.2091, allocations: 20.97 kB / 0.674 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.2091, allocations: 43.56 kB / 0.6741 GB, free: 3.246 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.055e-06/0.2091, allocations: 0 / 0.6741 GB, free: 3.246 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02281/0.232, allocations: 5.596 MB / 0.6795 GB, free: 13.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.2321, allocations: 68.41 kB / 0.6796 GB, free: 13.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/0.2345, allocations: 1.275 MB / 0.6809 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002782/0.2348, allocations: 53.64 kB / 0.6809 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.2353, allocations: 477.6 kB / 0.6814 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006008/0.2359, allocations: 394.5 kB / 0.6817 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.2369, allocations: 379.3 kB / 0.6821 GB, free: 10.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2371, allocations: 305.1 kB / 0.6824 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.2392, allocations: 0.9449 MB / 0.6833 GB, free: 9.703 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.2415, allocations: 1.109 MB / 0.6844 GB, free: 8.562 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004038/0.2456, allocations: 1.931 MB / 0.6863 GB, free: 6.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.2456, allocations: 0 / 0.6863 GB, free: 6.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.00686/0.2525, allocations: 3.039 MB / 0.6893 GB, free: 3.555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.2525, allocations: 8 kB / 0.6893 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.2525, allocations: 0 / 0.6893 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009254/0.2618, allocations: 2.276 MB / 0.6915 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/0.2637, allocations: 363.5 kB / 0.6918 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00536/0.269, allocations: 2.267 MB / 0.694 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/0.2716, allocations: 214.4 kB / 0.6942 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003046/0.2719, allocations: 67.98 kB / 0.6943 GB, free: 14.34 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.0007099/0.2726, allocations: 269.5 kB / 0.6946 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004229/0.273, allocations: 138.2 kB / 0.6947 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.284, allocations: 3.353 MB / 0.698 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.2841, allocations: 15.94 kB / 0.698 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2841, allocations: 0 / 0.698 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/0.2841, allocations: 3.984 kB / 0.698 GB, free: 10.54 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.01397/0.2981, allocations: 5.023 MB / 0.7029 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.2981, allocations: 0 / 0.7029 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008127/0.299, allocations: 131.8 kB / 0.703 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005659/0.3046, allocations: 1.438 MB / 0.7044 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.3048, allocations: 23.98 kB / 0.7045 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/0.3249, allocations: 7.842 MB / 0.7121 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3249, allocations: 0 / 0.7121 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/0.3381, allocations: 4.236 MB / 0.7162 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/0.3388, allocations: 251.1 kB / 0.7165 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004078/0.3392, allocations: 23.94 kB / 0.7165 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.3408, allocations: 99.89 kB / 0.7166 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005619/0.3413, allocations: 176.8 kB / 0.7168 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.279e-05/0.3414, allocations: 31.98 kB / 0.7168 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001451/0.3429, allocations: 0.8434 MB / 0.7176 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3429, allocations: 0 / 0.7176 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001719/0.3446, allocations: 487.7 kB / 0.7181 GB, free: 5.629 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.0003613/0.345, allocations: 143.6 kB / 0.7182 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007527/0.3526, allocations: 2.461 MB / 0.7206 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3526, allocations: 0 / 0.7206 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004425/0.357, allocations: 1.348 MB / 0.722 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.3585, allocations: 116.8 kB / 0.7221 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006117/0.3646, allocations: 2.689 MB / 0.7247 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008956/0.3655, allocations: 1.109 MB / 0.7258 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005747/0.3661, allocations: 83.42 kB / 0.7259 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of SimCode: time 1.253e-06/0.3661, allocations: 4 kB / 0.7259 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.03155/0.3977, allocations: 21.38 MB / 0.7467 GB, free: 8.195 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)