Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.468/2.468, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 190.6 kB / 0.4902 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 223.1 MB / 0.7992 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009529/0.0009527, allocations: 95.94 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 9.172 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3498, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.365, allocations: 192.8 MB / 1.417 GB, free: 175.7 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/1.365, allocations: 93.84 kB / 1.418 GB, free: 175.7 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Interfaces/Source.mo:28:9-28:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1158/1.481, allocations: 50.23 MB / 1.467 GB, free: 146.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.342e-06/1.481, allocations: 0 / 1.467 GB, free: 146.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.252e-05/1.481, allocations: 16 kB / 1.467 GB, free: 146.3 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001699/1.483, allocations: 0.9984 MB / 1.468 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.483, allocations: 8.562 kB / 1.468 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/1.486, allocations: 0.6271 MB / 1.468 GB, free: 144.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009996/1.487, allocations: 0.5989 MB / 1.469 GB, free: 144 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/1.487, allocations: 45.23 kB / 1.469 GB, free: 143.9 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/1.487, allocations: 51.95 kB / 1.469 GB, free: 143.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/1.489, allocations: 1.014 MB / 1.47 GB, free: 142.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/1.489, allocations: 4 kB / 1.47 GB, free: 142.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/1.489, allocations: 23.98 kB / 1.47 GB, free: 142.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.147e-05/1.489, allocations: 41.3 kB / 1.47 GB, free: 142.7 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/1.491, allocations: 1.012 MB / 1.471 GB, free: 141.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/1.494, allocations: 3.546 MB / 1.474 GB, free: 137.9 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/1.496, allocations: 0.5159 MB / 1.475 GB, free: 137.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/1.496, allocations: 7.984 kB / 1.475 GB, free: 137.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/1.496, allocations: 38.56 kB / 1.475 GB, free: 137.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/1.496, allocations: 3.938 kB / 1.475 GB, free: 137.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43): time 0.006331/1.502, allocations: 2.281 MB / 1.477 GB, free: 135 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/1.502, allocations: 136.5 kB / 1.477 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/1.503, allocations: 0.5032 MB / 1.478 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/1.503, allocations: 33.7 kB / 1.478 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/1.503, allocations: 360.2 kB / 1.478 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/1.503, allocations: 145.9 kB / 1.478 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/1.503, allocations: 4 kB / 1.478 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.503, allocations: 378.7 kB / 1.479 GB, free: 133.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005939/1.504, allocations: 280.9 kB / 1.479 GB, free: 133.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/1.505, allocations: 396.4 kB / 1.479 GB, free: 132.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006286/1.505, allocations: 314.2 kB / 1.48 GB, free: 132.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.505, allocations: 4 kB / 1.48 GB, free: 132.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002022/1.507, allocations: 0.9628 MB / 1.481 GB, free: 131.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003173/1.508, allocations: 1.221 MB / 1.482 GB, free: 130 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.508, allocations: 4 kB / 1.482 GB, free: 130 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009491/1.509, allocations: 256.8 kB / 1.482 GB, free: 129.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/1.509, allocations: 131.8 kB / 1.482 GB, free: 129.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/1.513, allocations: 5.967 MB / 1.488 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/1.514, allocations: 60 kB / 1.488 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/1.514, allocations: 20 kB / 1.488 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.514, allocations: 4.938 kB / 1.488 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00206/1.516, allocations: 1.073 MB / 1.489 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/1.516, allocations: 352 / 1.489 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006042/1.516, allocations: 213.2 kB / 1.489 GB, free: 121.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/1.517, allocations: 131.8 kB / 1.489 GB, free: 121.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/1.522, allocations: 8.212 MB / 1.497 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/1.522, allocations: 60.05 kB / 1.498 GB, free: 112.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/1.522, allocations: 19.95 kB / 1.498 GB, free: 112.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005765/1.523, allocations: 312.9 kB / 1.498 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/1.523, allocations: 67.25 kB / 1.498 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/1.523, allocations: 74.38 kB / 1.498 GB, free: 112 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/1.523, allocations: 8 kB / 1.498 GB, free: 112 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/1.523, allocations: 4 kB / 1.498 GB, free: 112 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.523, allocations: 3.984 kB / 1.498 GB, free: 112 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006691/1.524, allocations: 0.6455 MB / 1.499 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.524, allocations: 0 / 1.499 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/1.525, allocations: 111.8 kB / 1.499 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007824/1.525, allocations: 245.2 kB / 1.499 GB, free: 111 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/1.525, allocations: 8 kB / 1.499 GB, free: 111 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005071/1.53, allocations: 8.479 MB / 1.507 GB, free: 101.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.53, allocations: 4 kB / 1.507 GB, free: 101.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/1.532, allocations: 0.9522 MB / 1.508 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/1.533, allocations: 184.3 kB / 1.508 GB, free: 100.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/1.533, allocations: 11.94 kB / 1.508 GB, free: 100.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/1.533, allocations: 51.95 kB / 1.508 GB, free: 100.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/1.533, allocations: 43.88 kB / 1.508 GB, free: 100.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/1.533, allocations: 12 kB / 1.508 GB, free: 100.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004384/1.534, allocations: 399.1 kB / 1.509 GB, free: 99.99 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/1.534, allocations: 0 / 1.509 GB, free: 99.99 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001103/1.535, allocations: 295.9 kB / 1.509 GB, free: 99.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (31): * Single equations (assignments): 25 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002218/1.535, allocations: 127.2 kB / 1.509 GB, free: 99.57 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002959/1.538, allocations: 2.079 MB / 1.511 GB, free: 97.37 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.538, allocations: 4 kB / 1.511 GB, free: 97.37 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/1.539, allocations: 1.023 MB / 1.512 GB, free: 96.27 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008354/1.54, allocations: 201.8 kB / 1.512 GB, free: 96.07 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/1.542, allocations: 1.506 MB / 1.514 GB, free: 94.54 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/1.543, allocations: 0.9937 MB / 1.515 GB, free: 93.52 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006228/1.544, allocations: 153.4 kB / 1.515 GB, free: 93.37 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/1.544, allocations: 39.44 kB / 1.515 GB, free: 93.33 MB / 0.9011 GB Notification: Performance of SimCode: time 9.42e-07/1.544, allocations: 0 / 1.515 GB, free: 93.33 MB / 0.9011 GB Notification: Performance of Templates: time 0.02039/1.564, allocations: 12.39 MB / 1.527 GB, free: 81.07 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)