Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001381, allocations: 104.3 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 187.9 kB / 17.2 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002565/0.002565, allocations: 283.8 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.244/1.244, allocations: 178.6 MB / 0.5079 GB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002775/0.002775, allocations: 103.8 kB / 0.6071 GB, free: 9.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.19, allocations: 89.13 MB / 0.6941 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.009452/0.1995, allocations: 6.278 MB / 0.7003 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00805/0.2076, allocations: 4.546 MB / 0.7047 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005411/0.2082, allocations: 23.88 kB / 0.7047 GB, free: 5.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.2107, allocations: 0.9103 MB / 0.7056 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.2127, allocations: 0.7752 MB / 0.7064 GB, free: 3.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000722/0.2135, allocations: 326.3 kB / 0.7067 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.2148, allocations: 1.133 MB / 0.7078 GB, free: 2.027 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009087/0.2157, allocations: 0.6888 MB / 0.7085 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.2163, allocations: 474.4 kB / 0.7089 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006785/0.217, allocations: 498 kB / 0.7094 GB, free: 388 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.2171, allocations: 68 kB / 0.7095 GB, free: 320 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005329/0.2177, allocations: 287.5 kB / 0.7097 GB, free: 32 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.269/0.4867, allocations: 241.7 kB / 0.71 GB, free: 39.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004972/0.4872, allocations: 408.2 kB / 0.7104 GB, free: 38.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.4884, allocations: 1.061 MB / 0.7114 GB, free: 38.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4884, allocations: 2.062 kB / 0.7114 GB, free: 38.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4884, allocations: 0 / 0.7114 GB, free: 38.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.4885, allocations: 0 / 0.7114 GB, free: 38.88 MB / 0.545 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.001678/0.4901, allocations: 1.097 MB / 0.7125 GB, free: 38.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.4902, allocations: 9.906 kB / 0.7125 GB, free: 38.26 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/0.4932, allocations: 0.6333 MB / 0.7131 GB, free: 38.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.4939, allocations: 0.5365 MB / 0.7136 GB, free: 37.94 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.4939, allocations: 42.98 kB / 0.7137 GB, free: 37.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.494, allocations: 50.84 kB / 0.7137 GB, free: 37.94 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.4956, allocations: 1.019 MB / 0.7147 GB, free: 37.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4957, allocations: 1.406 kB / 0.7147 GB, free: 37.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.4957, allocations: 25.5 kB / 0.7147 GB, free: 37.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/0.4958, allocations: 47.91 kB / 0.7148 GB, free: 37.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.4978, allocations: 1.006 MB / 0.7158 GB, free: 37.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.501, allocations: 3.51 MB / 0.7192 GB, free: 35.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.5023, allocations: 498.4 kB / 0.7197 GB, free: 35.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.5028, allocations: 230.6 kB / 0.7199 GB, free: 35.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.5029, allocations: 6.219 kB / 0.7199 GB, free: 35.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.5029, allocations: 37.47 kB / 0.7199 GB, free: 35.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.5029, allocations: 0 / 0.7199 GB, free: 35.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.006199/0.5091, allocations: 2.011 MB / 0.7219 GB, free: 35.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.5092, allocations: 56.72 kB / 0.7219 GB, free: 35.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005343/0.5097, allocations: 0.5694 MB / 0.7225 GB, free: 34.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.5097, allocations: 32.92 kB / 0.7225 GB, free: 34.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.5099, allocations: 361 kB / 0.7229 GB, free: 34.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.459e-05/0.51, allocations: 150.9 kB / 0.723 GB, free: 34.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.5101, allocations: 92.05 kB / 0.7231 GB, free: 34.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.5102, allocations: 373.8 kB / 0.7235 GB, free: 34.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/0.5108, allocations: 258.9 kB / 0.7237 GB, free: 34.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/0.5114, allocations: 364.2 kB / 0.7241 GB, free: 34.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.5127, allocations: 0.6166 MB / 0.7247 GB, free: 34.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5127, allocations: 5.625 kB / 0.7247 GB, free: 34.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002102/0.5148, allocations: 0.9332 MB / 0.7256 GB, free: 33.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5148, allocations: 6.312 kB / 0.7256 GB, free: 33.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5148, allocations: 7.562 kB / 0.7256 GB, free: 33.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009863/0.5158, allocations: 274.2 kB / 0.7259 GB, free: 33.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.5164, allocations: 115.2 kB / 0.726 GB, free: 33.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005025/0.5214, allocations: 9.119 MB / 0.7349 GB, free: 24.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.5221, allocations: 48.05 kB / 0.7349 GB, free: 24.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.5221, allocations: 17.78 kB / 0.7349 GB, free: 24.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007857/0.5229, allocations: 431.8 kB / 0.7353 GB, free: 24.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005877/0.5235, allocations: 355.1 kB / 0.7357 GB, free: 24.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001156/0.5247, allocations: 0.615 MB / 0.7363 GB, free: 24.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.5247, allocations: 2.812 kB / 0.7363 GB, free: 24.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002119/0.5268, allocations: 1.121 MB / 0.7374 GB, free: 23.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.5269, allocations: 5.688 kB / 0.7374 GB, free: 23.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5269, allocations: 6.5 kB / 0.7374 GB, free: 23.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006843/0.5276, allocations: 225.2 kB / 0.7376 GB, free: 23.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.5281, allocations: 124.1 kB / 0.7377 GB, free: 23.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/0.5333, allocations: 8.799 MB / 0.7463 GB, free: 30.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/0.534, allocations: 40.84 kB / 0.7464 GB, free: 30.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.5341, allocations: 22.25 kB / 0.7464 GB, free: 30.87 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.5343, allocations: 207 kB / 0.7466 GB, free: 30.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.5344, allocations: 70.16 kB / 0.7466 GB, free: 30.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.5346, allocations: 79.83 kB / 0.7467 GB, free: 30.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5346, allocations: 6.328 kB / 0.7467 GB, free: 30.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.5346, allocations: 7.984 kB / 0.7467 GB, free: 30.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5346, allocations: 3.469 kB / 0.7467 GB, free: 30.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000641/0.5352, allocations: 0.6455 MB / 0.7474 GB, free: 30.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5353, allocations: 3.938 kB / 0.7474 GB, free: 30.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.5357, allocations: 85.67 kB / 0.7475 GB, free: 30.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000839/0.5366, allocations: 264.1 kB / 0.7477 GB, free: 30.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.5366, allocations: 12.25 kB / 0.7477 GB, free: 30.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006612/0.5432, allocations: 9.07 MB / 0.7566 GB, free: 21.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5432, allocations: 3.188 kB / 0.7566 GB, free: 21.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.5453, allocations: 0.9106 MB / 0.7575 GB, free: 20.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.5456, allocations: 188.4 kB / 0.7576 GB, free: 20.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.872e-05/0.5457, allocations: 6.656 kB / 0.7577 GB, free: 20.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004615/0.5461, allocations: 36.02 kB / 0.7577 GB, free: 20.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.5462, allocations: 46.27 kB / 0.7577 GB, free: 20.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.5463, allocations: 15.97 kB / 0.7577 GB, free: 20.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003903/0.5467, allocations: 402.5 kB / 0.7581 GB, free: 20.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5467, allocations: 4 kB / 0.7581 GB, free: 20.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009688/0.5477, allocations: 300.2 kB / 0.7584 GB, free: 20.59 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001392/0.5478, allocations: 112.2 kB / 0.7585 GB, free: 20.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003541/0.5513, allocations: 2.401 MB / 0.7609 GB, free: 18.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5514, allocations: 2.531 kB / 0.7609 GB, free: 18.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.5526, allocations: 0.9999 MB / 0.7618 GB, free: 18.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009515/0.5536, allocations: 237.4 kB / 0.7621 GB, free: 18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.5556, allocations: 1.353 MB / 0.7634 GB, free: 17.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.5563, allocations: 0.9841 MB / 0.7644 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.5564, allocations: 51.64 kB / 0.7644 GB, free: 16.56 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/0.5564, allocations: 0 / 0.7644 GB, free: 16.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.03026/0.5867, allocations: 26.98 MB / 0.7908 GB, free: 9.441 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)