Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.001108/0.001108, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.273/1.273, allocations: 222.9 MB / 239.6 MB, free: 4.656 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.001542/0.001543, allocations: 192.1 kB / 289.9 MB, free: 2.398 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4353/0.4353, allocations: 78.53 MB / 418.6 MB, free: 3.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 71.89 kB / 497.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1343, allocations: 68.17 MB / 0.5525 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.2316/0.366, allocations: 7.174 MB / 0.5595 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004126/0.3702, allocations: 2.319 MB / 0.5618 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.3712, allocations: 11.34 kB / 0.5618 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007771/0.372, allocations: 201.8 kB / 0.562 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.3751, allocations: 1.113 MB / 0.5631 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009585/0.3761, allocations: 469.2 kB / 0.5635 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.378, allocations: 2.014 MB / 0.5655 GB, free: 34.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.3784, allocations: 250.9 kB / 0.5657 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007642/0.3792, allocations: 0.7763 MB / 0.5665 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008702/0.3801, allocations: 1.04 MB / 0.5675 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.3803, allocations: 155.6 kB / 0.5676 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005619/0.3808, allocations: 336.2 kB / 0.568 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.3811, allocations: 407 kB / 0.5684 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005003/0.3816, allocations: 0.7809 MB / 0.5691 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.3827, allocations: 1.436 MB / 0.5705 GB, free: 33.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3827, allocations: 0 / 0.5705 GB, free: 33.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3827, allocations: 4.844 kB / 0.5705 GB, free: 33.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.3827, allocations: 6.078 kB / 0.5705 GB, free: 33.43 MB / 430.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.0136/0.3963, allocations: 3.894 MB / 0.5743 GB, free: 32.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3964, allocations: 7.875 kB / 0.5743 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/0.3993, allocations: 0.5154 MB / 0.5748 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.4006, allocations: 0.9823 MB / 0.5758 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002815/0.4009, allocations: 235.1 kB / 0.576 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.4011, allocations: 89.25 kB / 0.5761 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.403, allocations: 0.9758 MB / 0.5771 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.403, allocations: 8.438 kB / 0.5771 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-05/0.4031, allocations: 25.84 kB / 0.5771 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.4031, allocations: 14.62 kB / 0.5771 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.4053, allocations: 1.097 MB / 0.5782 GB, free: 31.66 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 preOpt removeSimpleEquations (simulation): time 0.005657/0.411, allocations: 3.742 MB / 0.5818 GB, free: 29.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/0.4142, allocations: 1.668 MB / 0.5835 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.4157, allocations: 0.7129 MB / 0.5842 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.4158, allocations: 23.64 kB / 0.5842 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.4159, allocations: 43.44 kB / 0.5842 GB, free: 28.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 3.547e-06/0.4159, allocations: 0 / 0.5842 GB, free: 28.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02108/0.437, allocations: 5.594 MB / 0.5897 GB, free: 27.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.4371, allocations: 62.7 kB / 0.5897 GB, free: 27.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.4392, allocations: 1.277 MB / 0.591 GB, free: 26.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003566/0.4395, allocations: 50.39 kB / 0.591 GB, free: 26.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.4399, allocations: 476.6 kB / 0.5915 GB, free: 26.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004782/0.4404, allocations: 393.8 kB / 0.5919 GB, free: 25.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007021/0.4411, allocations: 388 kB / 0.5922 GB, free: 25.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.4411, allocations: 301.7 kB / 0.5925 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.4432, allocations: 0.9439 MB / 0.5935 GB, free: 25.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.4452, allocations: 1.108 MB / 0.5945 GB, free: 24.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003546/0.4488, allocations: 1.934 MB / 0.5964 GB, free: 23.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4488, allocations: 3.938 kB / 0.5964 GB, free: 23.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006746/0.4556, allocations: 3.037 MB / 0.5994 GB, free: 22.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.4556, allocations: 10.44 kB / 0.5994 GB, free: 22.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.4556, allocations: 3.422 kB / 0.5994 GB, free: 22.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009117/0.4648, allocations: 2.281 MB / 0.6016 GB, free: 22.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.4667, allocations: 360.3 kB / 0.602 GB, free: 22.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005132/0.4718, allocations: 2.265 MB / 0.6042 GB, free: 20.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/0.4743, allocations: 222.9 kB / 0.6044 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.4745, allocations: 65.97 kB / 0.6045 GB, free: 20.82 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 (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.0004952/0.475, allocations: 261.6 kB / 0.6047 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.4752, allocations: 140 kB / 0.6048 GB, free: 20.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/0.4861, allocations: 3.345 MB / 0.6081 GB, free: 19.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/0.4861, allocations: 11.41 kB / 0.6081 GB, free: 19.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.4861, allocations: 0 / 0.6081 GB, free: 19.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.464e-05/0.4862, allocations: 6.641 kB / 0.6081 GB, free: 19.67 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.01268/0.4989, allocations: 5.046 MB / 0.6131 GB, free: 17.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.4989, allocations: 0 / 0.6131 GB, free: 17.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/0.4998, allocations: 129.2 kB / 0.6132 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004672/0.5044, allocations: 1.443 MB / 0.6146 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.5046, allocations: 24 kB / 0.6146 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/0.5205, allocations: 7.845 MB / 0.6223 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5206, allocations: 4 kB / 0.6223 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/0.5316, allocations: 4.226 MB / 0.6264 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/0.5322, allocations: 251.1 kB / 0.6266 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.5324, allocations: 19.94 kB / 0.6267 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.5337, allocations: 101 kB / 0.6268 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005384/0.5342, allocations: 180.7 kB / 0.6269 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-05/0.5343, allocations: 24.72 kB / 0.627 GB, free: 2.711 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009376/0.5353, allocations: 0.855 MB / 0.6278 GB, free: 1.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5353, allocations: 0 / 0.6278 GB, free: 1.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001199/0.5365, allocations: 487.6 kB / 0.6283 GB, free: 1.375 MB / 430.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.0002678/0.5367, allocations: 147.6 kB / 0.6284 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006784/0.5435, allocations: 2.488 MB / 0.6308 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5436, allocations: 0 / 0.6308 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00391/0.5475, allocations: 1.35 MB / 0.6321 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.5487, allocations: 114.9 kB / 0.6323 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.5538, allocations: 3.138 MB / 0.6353 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.5544, allocations: 1.109 MB / 0.6364 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/0.5549, allocations: 91.41 kB / 0.6365 GB, free: 8.953 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5549, allocations: 0 / 0.6365 GB, free: 8.953 MB / 446.1 MB Notification: Performance of Templates: time 0.02767/0.5826, allocations: 21.26 MB / 0.6572 GB, free: 3.828 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)