Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 249.3 MB / 261.8 MB, free: 5.961 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.00112/0.00112, allocations: 184.8 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.64/1.64, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008708/0.0008708, allocations: 94.47 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.213e-05/4.214e-05, allocations: 7.984 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2224, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8375/1.06, allocations: 183.4 MB / 1.071 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.06, allocations: 89.44 kB / 1.071 GB, free: 2.262 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.4265/1.487, allocations: 149.1 MB / 1.217 GB, free: 0.668 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.631e-06/1.487, allocations: 3.984 kB / 1.217 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004312/1.487, allocations: 83.86 kB / 1.217 GB, free: 0.582 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.01666/1.504, allocations: 3.691 MB / 1.22 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/1.504, allocations: 12.03 kB / 1.22 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002068/1.506, allocations: 354.2 kB / 1.221 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0256/1.532, allocations: 3.206 MB / 1.224 GB, free: 9.207 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/1.543, allocations: 2.561 MB / 1.226 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006071/1.544, allocations: 470.4 kB / 1.227 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/1.546, allocations: 235.9 kB / 1.227 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/1.558, allocations: 3.936 MB / 1.231 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/1.559, allocations: 0 / 1.231 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005597/1.559, allocations: 108 kB / 1.231 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002622/1.559, allocations: 144.8 kB / 1.231 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/1.57, allocations: 3.588 MB / 1.235 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03935/1.61, allocations: 14.86 MB / 1.249 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008415/1.618, allocations: 2.684 MB / 1.252 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/1.621, allocations: 1.108 MB / 1.253 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/1.621, allocations: 21.3 kB / 1.253 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00266/1.624, allocations: 1.443 MB / 1.254 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 4.929e-06/1.624, allocations: 0 / 1.254 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.7224/2.346, allocations: 29.54 MB / 1.283 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003077/2.347, allocations: 0.8984 MB / 1.284 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/2.351, allocations: 1.949 MB / 1.286 GB, free: 223 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007213/2.352, allocations: 81 kB / 1.286 GB, free: 223 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001438/2.353, allocations: 1.438 MB / 1.287 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/2.354, allocations: 0.8162 MB / 1.288 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/2.354, allocations: 53.25 kB / 1.288 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001478/2.354, allocations: 399.5 kB / 1.289 GB, free: 221.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/2.357, allocations: 1.407 MB / 1.29 GB, free: 221.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/2.36, allocations: 1.798 MB / 1.292 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/2.362, allocations: 1.621 MB / 1.293 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/2.362, allocations: 1.062 kB / 1.293 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01346/2.376, allocations: 5.478 MB / 1.299 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/2.376, allocations: 147.2 kB / 1.299 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/2.376, allocations: 3.781 kB / 1.299 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00896/2.385, allocations: 2.889 MB / 1.302 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/2.388, allocations: 0.5764 MB / 1.302 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0331/2.421, allocations: 16.96 MB / 1.319 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004924/2.426, allocations: 435.8 kB / 1.319 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005207/2.427, allocations: 85.28 kB / 1.319 GB, free: 217.5 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.0006741/2.427, allocations: 254.1 kB / 1.32 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008065/2.428, allocations: 335.5 kB / 1.32 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009862/2.429, allocations: 385.8 kB / 1.32 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/2.429, allocations: 25.94 kB / 1.32 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.175e-05/2.429, allocations: 11.03 kB / 1.32 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/2.429, allocations: 12 kB / 1.32 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004923/2.434, allocations: 3.645 MB / 1.324 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/2.434, allocations: 2.906 kB / 1.324 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/2.437, allocations: 0.5076 MB / 1.324 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008615/2.445, allocations: 2.798 MB / 1.327 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005875/2.446, allocations: 53.2 kB / 1.327 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03147/2.477, allocations: 16.81 MB / 1.344 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/2.477, allocations: 0 / 1.344 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/2.489, allocations: 5.13 MB / 1.349 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002819/2.492, allocations: 0.706 MB / 1.349 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/2.493, allocations: 45.59 kB / 1.349 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003913/2.497, allocations: 423.9 kB / 1.35 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/2.498, allocations: 365 kB / 1.35 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002282/2.498, allocations: 71.8 kB / 1.35 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002267/2.501, allocations: 1.488 MB / 1.352 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.4e-07/2.501, allocations: 0.75 kB / 1.352 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004314/2.505, allocations: 1.066 MB / 1.353 GB, free: 205.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 (118): * Single equations (assignments): 106 * 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 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.01127/2.516, allocations: 5.772 MB / 1.358 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01755/2.534, allocations: 5.383 MB / 1.363 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/2.534, allocations: 8.031 kB / 1.363 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01465/2.549, allocations: 3.472 MB / 1.367 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006801/2.555, allocations: 1.015 MB / 1.368 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/2.572, allocations: 5.711 MB / 1.373 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002805/2.575, allocations: 2.295 MB / 1.376 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00346/2.579, allocations: 0.5138 MB / 1.376 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002252/2.581, allocations: 1.322 MB / 1.377 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.623e-06/2.581, allocations: 0 / 1.377 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1547/2.736, allocations: 97.38 MB / 1.473 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/2.736, allocations: 200.6 kB / 1.473 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.866/8.602, allocations: 4.062 kB / 1.473 GB, free: 119.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)