Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001492, allocations: 108.3 kB / 15.99 MB, free: 6.348 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.001705/0.001705, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.284/1.284, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 295.4 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9034/0.9034, allocations: 169.2 MB / 0.4985 GB, free: 4.652 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 94.19 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1691, allocations: 86.98 MB / 0.6803 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007168/0.1763, allocations: 6.148 MB / 0.6863 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2919/0.4681, allocations: 3.139 MB / 0.6894 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00058/0.4688, allocations: 30.5 kB / 0.6894 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.471, allocations: 0.8754 MB / 0.6902 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.4722, allocations: 435 kB / 0.6907 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.4734, allocations: 461.3 kB / 0.6911 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.4749, allocations: 1.1 MB / 0.6922 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.4761, allocations: 0.716 MB / 0.6929 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007525/0.4769, allocations: 454.4 kB / 0.6933 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/0.4775, allocations: 492 kB / 0.6938 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.646e-05/0.4776, allocations: 58.75 kB / 0.6938 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009073/0.4785, allocations: 487.9 kB / 0.6943 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.4788, allocations: 288.6 kB / 0.6946 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.4792, allocations: 401.4 kB / 0.6949 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.4805, allocations: 0.9183 MB / 0.6958 GB, free: 11.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4805, allocations: 0 / 0.6958 GB, free: 11.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4805, allocations: 1.031 kB / 0.6958 GB, free: 11.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.4805, allocations: 4 kB / 0.6958 GB, free: 11.23 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001512/0.482, allocations: 1.056 MB / 0.6969 GB, free: 10.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.4821, allocations: 10.03 kB / 0.6969 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.4835, allocations: 222.1 kB / 0.6971 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006784/0.4842, allocations: 0.5409 MB / 0.6976 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.4843, allocations: 45.5 kB / 0.6977 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.4844, allocations: 66.22 kB / 0.6977 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.4858, allocations: 1.028 MB / 0.6987 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.4858, allocations: 15.88 kB / 0.6988 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.587e-05/0.4859, allocations: 31.02 kB / 0.6988 GB, free: 9.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.459e-05/0.486, allocations: 70.06 kB / 0.6989 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009801/0.4869, allocations: 0.69 MB / 0.6995 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/0.4908, allocations: 5.749 MB / 0.7051 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.4916, allocations: 0.5984 MB / 0.7057 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007154/0.4923, allocations: 433.8 kB / 0.7061 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.4923, allocations: 3.781 kB / 0.7061 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.4924, allocations: 32.97 kB / 0.7062 GB, free: 3.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.883e-06/0.4924, allocations: 0.7812 kB / 0.7062 GB, free: 3.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.004124/0.4965, allocations: 2.055 MB / 0.7082 GB, free: 2.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.4965, allocations: 59.5 kB / 0.7082 GB, free: 2.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.497, allocations: 460.5 kB / 0.7087 GB, free: 2.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.4971, allocations: 35.52 kB / 0.7087 GB, free: 2.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.4972, allocations: 389.2 kB / 0.7091 GB, free: 1.984 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.497e-05/0.4973, allocations: 151.3 kB / 0.7092 GB, free: 1.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.4975, allocations: 109.1 kB / 0.7093 GB, free: 1.812 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.4976, allocations: 361.7 kB / 0.7097 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.498, allocations: 248.4 kB / 0.7099 GB, free: 1.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.4984, allocations: 465.5 kB / 0.7104 GB, free: 1.031 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007986/0.4992, allocations: 0.76 MB / 0.7111 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4992, allocations: 2.062 kB / 0.7111 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001786/0.501, allocations: 1.057 MB / 0.7121 GB, free: 76 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.501, allocations: 12.67 kB / 0.7121 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.5011, allocations: 6.938 kB / 0.7122 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.5022, allocations: 333.7 kB / 0.7125 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.5025, allocations: 97.89 kB / 0.7126 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007042/0.5096, allocations: 7.523 MB / 0.7199 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.5101, allocations: 29.3 kB / 0.7199 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.5101, allocations: 26.66 kB / 0.72 GB, free: 9.559 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003758/0.5105, allocations: 249.8 kB / 0.7202 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.499e-05/0.5106, allocations: 61.73 kB / 0.7203 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.5124, allocations: 0.9125 MB / 0.7212 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.5124, allocations: 4.938 kB / 0.7212 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5124, allocations: 4.094 kB / 0.7212 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5124, allocations: 2.109 kB / 0.7212 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.5152, allocations: 1.714 MB / 0.7228 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5153, allocations: 1.469 kB / 0.7228 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.5154, allocations: 42.44 kB / 0.7229 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009915/0.5164, allocations: 320 kB / 0.7232 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.5165, allocations: 11.91 kB / 0.7232 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006661/0.5231, allocations: 7.523 MB / 0.7305 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5232, allocations: 2.266 kB / 0.7305 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.5249, allocations: 1.015 MB / 0.7315 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.5252, allocations: 176.5 kB / 0.7317 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.5253, allocations: 8 kB / 0.7317 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.5256, allocations: 21.17 kB / 0.7317 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.5257, allocations: 46.34 kB / 0.7318 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.5257, allocations: 13.47 kB / 0.7318 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003379/0.5261, allocations: 312.1 kB / 0.7321 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.5261, allocations: 0 / 0.7321 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008125/0.5269, allocations: 194.7 kB / 0.7323 GB, free: 0.6172 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001345/0.527, allocations: 119 kB / 0.7324 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001889/0.5289, allocations: 1.239 MB / 0.7336 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5289, allocations: 1.188 kB / 0.7336 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.5301, allocations: 0.8735 MB / 0.7344 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009629/0.5311, allocations: 212.8 kB / 0.7347 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.5332, allocations: 1.592 MB / 0.7362 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.5338, allocations: 0.9917 MB / 0.7372 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/0.5339, allocations: 37.88 kB / 0.7372 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.5339, allocations: 1.312 kB / 0.7372 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.02032/0.5542, allocations: 18.67 MB / 0.7554 GB, free: 15.38 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)