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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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/Complex 3.2.3+maint.om/package.mo): time 0.0009885/0.0009886, allocations: 174.1 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008468/0.0008469, allocations: 91.73 kB / 266.6 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06596/0.06596, allocations: 12.59 MB / 327.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2788/0.2788, allocations: 78.02 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.159e-05, allocations: 4 kB / 0.5218 GB, free: 23.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09828, allocations: 69.33 MB / 0.5895 GB, free: 2.512 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.4546, allocations: 105.5 MB / 0.6925 GB, free: 10.05 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.4548, allocations: 76.09 kB / 0.6926 GB, free: 10.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1038/0.5586, allocations: 38.27 MB / 0.73 GB, free: 9.75 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5587, allocations: 0 / 0.73 GB, free: 9.75 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.977e-05/0.5587, allocations: 20 kB / 0.73 GB, free: 9.73 MB / 474.7 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.004142/0.5629, allocations: 1.687 MB / 0.7316 GB, free: 8.102 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.5629, allocations: 15.98 kB / 0.7316 GB, free: 8.086 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.5651, allocations: 400.9 kB / 0.732 GB, free: 7.719 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.5664, allocations: 0.8618 MB / 0.7329 GB, free: 7.012 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002663/0.5667, allocations: 225.4 kB / 0.7331 GB, free: 6.785 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.5669, allocations: 74.03 kB / 0.7331 GB, free: 6.734 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.5683, allocations: 0.8196 MB / 0.7339 GB, free: 6.199 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.5683, allocations: 0 / 0.7339 GB, free: 6.199 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.955e-05/0.5684, allocations: 27.56 kB / 0.734 GB, free: 6.195 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.5685, allocations: 16 kB / 0.734 GB, free: 6.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.5699, allocations: 0.8541 MB / 0.7348 GB, free: 5.645 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005691/0.5756, allocations: 3.574 MB / 0.7383 GB, free: 2.844 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.5777, allocations: 1.46 MB / 0.7397 GB, free: 1.633 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000819/0.5785, allocations: 0.5517 MB / 0.7403 GB, free: 1.328 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.5786, allocations: 20.34 kB / 0.7403 GB, free: 1.312 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.5787, allocations: 46.62 kB / 0.7403 GB, free: 1.266 MB / 474.7 MB Notification: Performance of pre-optimization done (n=103): time 2.444e-06/0.5787, allocations: 0 / 0.7403 GB, free: 1.266 MB / 474.7 MB Notification: Performance of matching and sorting (n=103): time 0.009921/0.5886, allocations: 3.271 MB / 0.7435 GB, free: 14.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.5887, allocations: 64.34 kB / 0.7436 GB, free: 14.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.59, allocations: 1.038 MB / 0.7446 GB, free: 13.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.5902, allocations: 44.08 kB / 0.7447 GB, free: 13.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.5905, allocations: 0.512 MB / 0.7452 GB, free: 13.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003325/0.5908, allocations: 372.5 kB / 0.7455 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.5909, allocations: 17.62 kB / 0.7455 GB, free: 13.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.591, allocations: 351.5 kB / 0.7459 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007404/0.5918, allocations: 434.8 kB / 0.7463 GB, free: 12.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007977/0.5926, allocations: 0.5115 MB / 0.7468 GB, free: 12.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007797/0.5934, allocations: 480.6 kB / 0.7472 GB, free: 11.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5934, allocations: 0 / 0.7472 GB, free: 11.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003016/0.5964, allocations: 1.593 MB / 0.7488 GB, free: 10.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5964, allocations: 4 kB / 0.7488 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5964, allocations: 4 kB / 0.7488 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008169/0.6046, allocations: 2.179 MB / 0.7509 GB, free: 8.422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/0.6053, allocations: 151.7 kB / 0.7511 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003623/0.6089, allocations: 1.946 MB / 0.753 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.6104, allocations: 171.1 kB / 0.7531 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/0.6105, allocations: 35.98 kB / 0.7532 GB, free: 6.102 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.6107, allocations: 150.5 kB / 0.7533 GB, free: 5.949 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.611, allocations: 138.2 kB / 0.7534 GB, free: 5.812 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/0.621, allocations: 3.405 MB / 0.7568 GB, free: 2.391 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.621, allocations: 12 kB / 0.7568 GB, free: 2.379 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.621, allocations: 0 / 0.7568 GB, free: 2.379 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.6211, allocations: 7.969 kB / 0.7568 GB, free: 2.371 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01207/0.6331, allocations: 5.106 MB / 0.7618 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.6332, allocations: 0 / 0.7618 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008509/0.634, allocations: 143.8 kB / 0.7619 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00469/0.6387, allocations: 1.325 MB / 0.7632 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.6389, allocations: 16 kB / 0.7632 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/0.6527, allocations: 6.195 MB / 0.7693 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6527, allocations: 0 / 0.7693 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.6642, allocations: 4.145 MB / 0.7733 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/0.6647, allocations: 259.1 kB / 0.7736 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.6649, allocations: 24 kB / 0.7736 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.6662, allocations: 119.9 kB / 0.7737 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004914/0.6667, allocations: 184.7 kB / 0.7739 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/0.6668, allocations: 24 kB / 0.7739 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001178/0.668, allocations: 0.8255 MB / 0.7747 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.713e-06/0.668, allocations: 112 / 0.7747 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001019/0.669, allocations: 395.5 kB / 0.7751 GB, free: 15.31 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002908/0.6693, allocations: 167 kB / 0.7752 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005008/0.6743, allocations: 1.663 MB / 0.7769 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6744, allocations: 0 / 0.7769 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003757/0.6781, allocations: 1.292 MB / 0.7781 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/0.6789, allocations: 112.7 kB / 0.7782 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.6828, allocations: 2.17 MB / 0.7804 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.6834, allocations: 1.136 MB / 0.7815 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005202/0.684, allocations: 107.2 kB / 0.7816 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.6843, allocations: 71.42 kB / 0.7816 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/0.6843, allocations: 0 / 0.7816 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of Templates: time 0.03044/0.7147, allocations: 19.8 MB / 0.801 GB, free: 4.719 MB / 0.5261 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)