Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.398/1.398, allocations: 249.3 MB / 261.9 MB, free: 5.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009252/0.0009254, allocations: 180.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008234/0.0008235, allocations: 90.52 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.949e-05/2.964e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1824, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.687/0.8694, allocations: 183.3 MB / 1.071 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.8697, allocations: 85.2 kB / 1.071 GB, free: 2.336 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Electrical/Interfaces/Source.mo:30:9-30: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 7.0.3-maint.7.0.x/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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.3616/1.231, allocations: 147.6 MB / 1.215 GB, free: 2.344 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.633e-06/1.231, allocations: 3.938 kB / 1.215 GB, free: 2.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002307/1.232, allocations: 75.98 kB / 1.215 GB, free: 2.266 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.007566/1.239, allocations: 3.422 MB / 1.218 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.239, allocations: 8.031 kB / 1.218 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/1.256, allocations: 3.206 MB / 1.222 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007044/1.263, allocations: 2.303 MB / 1.224 GB, free: 9.145 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/1.264, allocations: 177.4 kB / 1.224 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005765/1.264, allocations: 232 kB / 1.224 GB, free: 8.742 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006705/1.271, allocations: 3.823 MB / 1.228 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/1.271, allocations: 0 / 1.228 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00032/1.271, allocations: 112 kB / 1.228 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/1.271, allocations: 144.8 kB / 1.228 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005596/1.277, allocations: 3.525 MB / 1.232 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02121/1.298, allocations: 14.37 MB / 1.246 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006544/1.305, allocations: 2.827 MB / 1.248 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/1.306, allocations: 1.05 MB / 1.249 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/1.306, allocations: 25.2 kB / 1.249 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001943/1.308, allocations: 1.358 MB / 1.251 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 3.597e-06/1.308, allocations: 0 / 1.251 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.6009/1.909, allocations: 28.98 MB / 1.279 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002391/1.91, allocations: 0.9014 MB / 1.28 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003849/1.913, allocations: 1.953 MB / 1.282 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005454/1.914, allocations: 80.45 kB / 1.282 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/1.915, allocations: 1.43 MB / 1.283 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009377/1.916, allocations: 0.8182 MB / 1.284 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/1.917, allocations: 45.75 kB / 1.284 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.917, allocations: 402.5 kB / 1.285 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/1.919, allocations: 1.251 MB / 1.286 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/1.922, allocations: 1.644 MB / 1.287 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/1.924, allocations: 1.491 MB / 1.289 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/1.924, allocations: 2.312 kB / 1.289 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01051/1.935, allocations: 4.771 MB / 1.294 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006012/1.935, allocations: 2.453 MB / 1.296 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/1.935, allocations: 5.875 kB / 1.296 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00582/1.941, allocations: 1.758 MB / 1.298 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/1.944, allocations: 0.5943 MB / 1.298 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/1.956, allocations: 9.048 MB / 1.307 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/1.961, allocations: 419.3 kB / 1.307 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003517/1.961, allocations: 87.03 kB / 1.308 GB, free: 217 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.961, allocations: 6.188 kB / 1.308 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007433/1.969, allocations: 4.378 MB / 1.312 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.969, allocations: 9.078 kB / 1.312 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004252/1.973, allocations: 1.763 MB / 1.314 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/1.976, allocations: 0.6077 MB / 1.314 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01751/1.993, allocations: 13.26 MB / 1.327 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004883/1.998, allocations: 414.4 kB / 1.327 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/1.999, allocations: 90.17 kB / 1.328 GB, free: 213.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.0008063/2, allocations: 251.8 kB / 1.328 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006459/2, allocations: 338.7 kB / 1.328 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/2.001, allocations: 394.6 kB / 1.329 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/2.001, allocations: 30.28 kB / 1.329 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-05/2.001, allocations: 9.906 kB / 1.329 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/2.001, allocations: 14.86 kB / 1.329 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/2.005, allocations: 3.182 MB / 1.332 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/2.005, allocations: 3.875 kB / 1.332 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/2.008, allocations: 0.5209 MB / 1.332 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004792/2.013, allocations: 1.653 MB / 1.334 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/2.013, allocations: 53.95 kB / 1.334 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/2.03, allocations: 13.74 MB / 1.347 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/2.03, allocations: 1.656 kB / 1.347 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008518/2.039, allocations: 4.413 MB / 1.352 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/2.041, allocations: 0.6722 MB / 1.352 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005953/2.042, allocations: 45.5 kB / 1.352 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003007/2.045, allocations: 410.3 kB / 1.353 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008891/2.046, allocations: 310.3 kB / 1.353 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/2.046, allocations: 69.84 kB / 1.353 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002233/2.048, allocations: 1.495 MB / 1.354 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.2e-07/2.048, allocations: 0 / 1.354 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004685/2.053, allocations: 1.583 MB / 1.356 GB, free: 200.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004398/2.053, allocations: 185.3 kB / 1.356 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01398/2.067, allocations: 7.725 MB / 1.364 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/2.067, allocations: 3.812 kB / 1.364 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005023/2.072, allocations: 2.798 MB / 1.366 GB, free: 196 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004456/2.077, allocations: 1.001 MB / 1.367 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007824/2.085, allocations: 4.916 MB / 1.372 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/2.086, allocations: 2.328 MB / 1.375 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003457/2.09, allocations: 0.7737 MB / 1.375 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/2.09, allocations: 151.1 kB / 1.375 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of SimCode: time 8.11e-07/2.09, allocations: 0 / 1.375 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.139/2.229, allocations: 76.81 MB / 1.45 GB, free: 140.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)