Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 289.9 MB / 297.4 MB, free: 6.414 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 176.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.3 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009815/0.0009812, allocations: 83.59 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.955e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7056/0.7057, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2467/0.9525, allocations: 189.9 MB / 1.159 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.9528, allocations: 92.53 kB / 1.159 GB, free: 7.953 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 1.065/2.018, allocations: 146.5 MB / 1.302 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.559e-06/2.018, allocations: 4.781 kB / 1.302 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005632/2.019, allocations: 80.94 kB / 1.302 GB, free: 194.6 MB / 0.8542 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.01297/2.032, allocations: 3.423 MB / 1.305 GB, free: 193 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/2.032, allocations: 9.906 kB / 1.305 GB, free: 193 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01976/2.052, allocations: 3.204 MB / 1.309 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007624/2.059, allocations: 2.294 MB / 1.311 GB, free: 192.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/2.059, allocations: 84.73 kB / 1.311 GB, free: 192.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007291/2.06, allocations: 137.8 kB / 1.311 GB, free: 192.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006596/2.067, allocations: 3.385 MB / 1.314 GB, free: 192.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005395/2.072, allocations: 3.477 MB / 1.318 GB, free: 191 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/2.072, allocations: 0 / 1.318 GB, free: 191 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003125/2.073, allocations: 3.719 kB / 1.318 GB, free: 191 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/2.073, allocations: 144.4 kB / 1.318 GB, free: 191 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0215/2.094, allocations: 13.85 MB / 1.331 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006205/2.1, allocations: 2.763 MB / 1.334 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/2.102, allocations: 0.9986 MB / 1.335 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/2.102, allocations: 26.09 kB / 1.335 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002031/2.104, allocations: 1.308 MB / 1.336 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 4.96e-06/2.104, allocations: 4 kB / 1.336 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.01826/2.123, allocations: 7.544 MB / 1.344 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002416/2.123, allocations: 0.8938 MB / 1.345 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/2.126, allocations: 1.572 MB / 1.346 GB, free: 175 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005524/2.126, allocations: 32.39 kB / 1.346 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/2.127, allocations: 1.444 MB / 1.348 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008667/2.128, allocations: 0.7945 MB / 1.348 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/2.128, allocations: 0 / 1.348 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001187/2.128, allocations: 396.9 kB / 1.349 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/2.13, allocations: 1.204 MB / 1.35 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/2.132, allocations: 1.578 MB / 1.351 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/2.134, allocations: 1.291 MB / 1.353 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/2.134, allocations: 4.906 kB / 1.353 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.008434/2.142, allocations: 4.371 MB / 1.357 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005582/2.143, allocations: 2.409 MB / 1.359 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/2.143, allocations: 7.031 kB / 1.359 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00538/2.148, allocations: 1.613 MB / 1.361 GB, free: 166.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/2.151, allocations: 0.5855 MB / 1.361 GB, free: 166.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/2.163, allocations: 8.987 MB / 1.37 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004544/2.168, allocations: 367 kB / 1.371 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005928/2.168, allocations: 96.69 kB / 1.371 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/2.168, allocations: 3.906 kB / 1.371 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006555/2.175, allocations: 3.671 MB / 1.374 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/2.175, allocations: 7.656 kB / 1.374 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003519/2.179, allocations: 1.412 MB / 1.376 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/2.182, allocations: 0.636 MB / 1.376 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/2.197, allocations: 11.76 MB / 1.388 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004557/2.202, allocations: 372.3 kB / 1.388 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005578/2.203, allocations: 90.45 kB / 1.388 GB, free: 150.4 MB / 0.8542 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.0007332/2.203, allocations: 171 kB / 1.388 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00779/2.211, allocations: 4.042 MB / 1.392 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/2.213, allocations: 308 kB / 1.393 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/2.214, allocations: 338.2 kB / 1.393 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/2.214, allocations: 24 kB / 1.393 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.237e-05/2.214, allocations: 12 kB / 1.393 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.962e-05/2.214, allocations: 14.11 kB / 1.393 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00515/2.219, allocations: 2.812 MB / 1.396 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/2.219, allocations: 0 / 1.396 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002775/2.222, allocations: 0.5228 MB / 1.396 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005378/2.227, allocations: 1.621 MB / 1.398 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004863/2.228, allocations: 11.97 kB / 1.398 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/2.245, allocations: 13.34 MB / 1.411 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/2.245, allocations: 96 / 1.411 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008285/2.254, allocations: 4.184 MB / 1.415 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002238/2.256, allocations: 0.6379 MB / 1.416 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009215/2.257, allocations: 7.984 kB / 1.416 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003548/2.26, allocations: 367.6 kB / 1.416 GB, free: 123 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009242/2.261, allocations: 302.6 kB / 1.416 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/2.262, allocations: 67.97 kB / 1.416 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002345/2.264, allocations: 1.168 MB / 1.417 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.805e-06/2.264, allocations: 0 / 1.417 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006282/2.27, allocations: 1.41 MB / 1.419 GB, free: 120.1 MB / 0.8542 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.008651/2.279, allocations: 4.794 MB / 1.423 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01541/2.294, allocations: 7.356 MB / 1.431 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.78e-05/2.294, allocations: 4 kB / 1.431 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005756/2.3, allocations: 2.668 MB / 1.433 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006272/2.307, allocations: 0.8667 MB / 1.434 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/2.324, allocations: 5.375 MB / 1.439 GB, free: 98.81 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003229/2.328, allocations: 2.323 MB / 1.442 GB, free: 96.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005741/2.334, allocations: 0.7261 MB / 1.442 GB, free: 95.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002191/2.336, allocations: 1.288 MB / 1.444 GB, free: 94.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.262e-06/2.336, allocations: 0 / 1.444 GB, free: 94.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1515/2.487, allocations: 92.94 MB / 1.534 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/2.488, allocations: 129.4 kB / 1.534 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.792/8.28, allocations: 0 / 1.534 GB, free: 2.465 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)