Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine",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 2.011/2.011, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001098/0.001099, allocations: 184.3 kB / 371.6 MB, free: 3.367 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.562/1.562, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009973/0.0009973, allocations: 91.36 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.798e-05/4.823e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2783, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8554/1.134, allocations: 181.3 MB / 1.157 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/1.134, allocations: 89.38 kB / 1.157 GB, free: 14.07 MB / 0.7448 GB [/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);. [/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 0.09101/1.225, allocations: 36.79 MB / 1.193 GB, free: 3.363 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.713e-06/1.225, allocations: 0 / 1.193 GB, free: 3.363 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001109/1.225, allocations: 23.94 kB / 1.193 GB, free: 3.34 MB / 0.7605 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.002416/1.228, allocations: 0.9103 MB / 1.194 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/1.228, allocations: 8.031 kB / 1.194 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002841/1.228, allocations: 96.7 kB / 1.194 GB, free: 2.355 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/1.232, allocations: 0.6277 MB / 1.195 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/1.233, allocations: 0.5785 MB / 1.195 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/1.233, allocations: 49.92 kB / 1.195 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/1.234, allocations: 56.75 kB / 1.195 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/1.235, allocations: 0.8617 MB / 1.196 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/1.235, allocations: 3.953 kB / 1.196 GB, free: 500 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.535e-05/1.235, allocations: 26.23 kB / 1.196 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.403e-05/1.235, allocations: 40.97 kB / 1.196 GB, free: 448 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/1.237, allocations: 0.7304 MB / 1.197 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004977/1.242, allocations: 3.542 MB / 1.2 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000853/1.243, allocations: 393.7 kB / 1.201 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/1.243, allocations: 186.8 kB / 1.201 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/1.243, allocations: 7.984 kB / 1.201 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/1.243, allocations: 38.5 kB / 1.201 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/1.243, allocations: 0 / 1.201 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43): time 0.004923/1.248, allocations: 1.592 MB / 1.202 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/1.248, allocations: 133.6 kB / 1.203 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007533/1.249, allocations: 0.4937 MB / 1.203 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/1.249, allocations: 31.7 kB / 1.203 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/1.249, allocations: 361 kB / 1.203 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/1.249, allocations: 153 kB / 1.204 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/1.249, allocations: 6.812 kB / 1.204 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.249, allocations: 377 kB / 1.204 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/1.25, allocations: 189.1 kB / 1.204 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/1.25, allocations: 311.3 kB / 1.204 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/1.251, allocations: 229.8 kB / 1.205 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.251, allocations: 0 / 1.205 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001597/1.252, allocations: 0.7929 MB / 1.205 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004897/1.253, allocations: 1.222 MB / 1.207 GB, free: 7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.253, allocations: 4 kB / 1.207 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009596/1.254, allocations: 245.2 kB / 1.207 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/1.254, allocations: 127.2 kB / 1.207 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004586/1.259, allocations: 5.898 MB / 1.213 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/1.26, allocations: 57.77 kB / 1.213 GB, free: 0.5625 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/1.26, allocations: 19.75 kB / 1.213 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.26, allocations: 4 kB / 1.213 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001588/1.261, allocations: 0.8974 MB / 1.214 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.261, allocations: 11.95 kB / 1.214 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/1.262, allocations: 204.8 kB / 1.214 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/1.263, allocations: 135.6 kB / 1.214 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0059/1.269, allocations: 8.11 MB / 1.222 GB, free: 6.945 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/1.269, allocations: 55.14 kB / 1.222 GB, free: 6.898 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/1.269, allocations: 15.38 kB / 1.222 GB, free: 6.887 MB / 0.7917 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 () * 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.0002235/1.27, allocations: 153.5 kB / 1.222 GB, free: 6.746 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/1.27, allocations: 67.16 kB / 1.222 GB, free: 6.68 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/1.27, allocations: 80.66 kB / 1.222 GB, free: 6.645 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.27, allocations: 8 kB / 1.222 GB, free: 6.637 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.27, allocations: 0 / 1.222 GB, free: 6.637 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.27, allocations: 0 / 1.222 GB, free: 6.637 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/1.271, allocations: 0.6518 MB / 1.223 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.271, allocations: 0 / 1.223 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/1.272, allocations: 95.91 kB / 1.223 GB, free: 6.004 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008492/1.273, allocations: 247.4 kB / 1.223 GB, free: 5.781 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/1.273, allocations: 11.06 kB / 1.223 GB, free: 5.773 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007119/1.28, allocations: 8.364 MB / 1.231 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.28, allocations: 0 / 1.231 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/1.281, allocations: 0.7725 MB / 1.232 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/1.282, allocations: 182 kB / 1.232 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/1.282, allocations: 10.44 kB / 1.232 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/1.283, allocations: 54.69 kB / 1.232 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/1.283, allocations: 42.09 kB / 1.233 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/1.283, allocations: 23.67 kB / 1.233 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006325/1.284, allocations: 390.6 kB / 1.233 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.3e-07/1.284, allocations: 0 / 1.233 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001349/1.285, allocations: 296.2 kB / 1.233 GB, free: 11.64 MB / 0.8073 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 () * 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.00196/1.287, allocations: 1.344 MB / 1.235 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002923/1.29, allocations: 1.848 MB / 1.236 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.29, allocations: 4.062 kB / 1.236 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/1.291, allocations: 0.9353 MB / 1.237 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.292, allocations: 202.2 kB / 1.237 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/1.295, allocations: 1.047 MB / 1.238 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/1.296, allocations: 0.99 MB / 1.239 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0009363/1.297, allocations: 189.3 kB / 1.24 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/1.298, allocations: 225 kB / 1.24 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of SimCode: time 1.813e-06/1.298, allocations: 3.938 kB / 1.24 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04519/1.343, allocations: 18.92 MB / 1.258 GB, free: 2.805 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/1.343, allocations: 185.4 kB / 1.258 GB, free: 2.574 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/4.153, allocations: 0 / 1.258 GB, free: 2.574 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)