Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001874/0.001875, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.596/1.596, allocations: 251.9 MB / 0.51 GB, free: 4.848 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005248, allocations: 20 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.5585, allocations: 106.3 MB / 0.728 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03739/0.5959, allocations: 33.03 MB / 0.7602 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02156/0.6176, allocations: 10.72 MB / 0.7707 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004171/0.6218, allocations: 127.2 kB / 0.7708 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003477/0.6253, allocations: 0.7569 MB / 0.7716 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007536/0.6329, allocations: 1.713 MB / 0.7732 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005562/0.6385, allocations: 1.285 MB / 0.7745 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0116/0.6501, allocations: 4.45 MB / 0.7788 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02315/0.6733, allocations: 12.64 MB / 0.7912 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00589/0.6792, allocations: 2.491 MB / 0.7936 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006268/0.6855, allocations: 2.655 MB / 0.7962 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001664/0.6872, allocations: 344 kB / 0.7965 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.6899, allocations: 0.5932 MB / 0.7971 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002701/0.6926, allocations: 2.315 MB / 0.7994 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.6947, allocations: 1.19 MB / 0.8005 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.7065, allocations: 10.03 MB / 0.8103 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.7066, allocations: 0 / 0.8103 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.276e-06/0.7066, allocations: 3.938 kB / 0.8103 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004897/0.7071, allocations: 0 / 0.8103 GB, free: 6.871 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01527/0.7224, allocations: 5.101 MB / 0.8153 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.7225, allocations: 12.03 kB / 0.8153 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006946/0.7294, allocations: 1.023 MB / 0.8163 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.7397, allocations: 3.338 MB / 0.8196 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004732/0.7402, allocations: 431.3 kB / 0.82 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002616/0.7428, allocations: 0.5428 MB / 0.8205 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/0.7656, allocations: 9.28 MB / 0.8296 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002524/0.7659, allocations: 27.8 kB / 0.8296 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001573/0.7675, allocations: 252 kB / 0.8299 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007876/0.7683, allocations: 418.9 kB / 0.8303 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/0.7861, allocations: 7.081 MB / 0.8372 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06295/0.8491, allocations: 41.35 MB / 0.8776 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005433/0.8546, allocations: 3.096 MB / 0.8806 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/0.8549, allocations: 29.94 kB / 0.8806 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.841e-05/0.8549, allocations: 64.56 kB / 0.8807 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=209): time 4.789e-06/0.855, allocations: 0 / 0.8807 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=212): time 0.02707/0.882, allocations: 10.43 MB / 0.8909 GB, free: 92 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.8822, allocations: 81.39 kB / 0.8909 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004189/0.8864, allocations: 1.982 MB / 0.8929 GB, free: 14 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005819/0.887, allocations: 69.7 kB / 0.8929 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002183/0.8892, allocations: 2.392 MB / 0.8953 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/0.8905, allocations: 0.7395 MB / 0.896 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.8908, allocations: 56 kB / 0.8961 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002616/0.8911, allocations: 415.3 kB / 0.8965 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002485/0.8936, allocations: 1.36 MB / 0.8978 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003012/0.8966, allocations: 2.084 MB / 0.8998 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.8995, allocations: 1.724 MB / 0.9015 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.14e-05/0.8996, allocations: 4 kB / 0.9015 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.4422/1.342, allocations: 5.032 MB / 0.9064 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/1.342, allocations: 15.17 kB / 0.9064 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/1.342, allocations: 23.34 kB / 0.9065 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004016/1.346, allocations: 1.56 MB / 0.908 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/1.348, allocations: 459.1 kB / 0.9084 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/1.369, allocations: 17.71 MB / 0.9257 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/1.371, allocations: 150.5 kB / 0.9258 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/1.371, allocations: 104.9 kB / 0.9259 GB, free: 147.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003117/1.374, allocations: 1.944 MB / 0.9278 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004665/1.375, allocations: 289.6 kB / 0.9281 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005672/1.381, allocations: 4.436 MB / 0.9325 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/1.381, allocations: 19.53 kB / 0.9325 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/1.381, allocations: 22.69 kB / 0.9325 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.381, allocations: 11.67 kB / 0.9325 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/1.393, allocations: 9.64 MB / 0.9419 GB, free: 139.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/1.393, allocations: 7.828 kB / 0.9419 GB, free: 139.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009238/1.394, allocations: 240.7 kB / 0.9422 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003578/1.398, allocations: 1.424 MB / 0.9435 GB, free: 138.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/1.398, allocations: 35.19 kB / 0.9436 GB, free: 138.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/1.416, allocations: 17.73 MB / 0.9609 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.416, allocations: 15.98 kB / 0.9609 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006086/1.422, allocations: 4.87 MB / 0.9657 GB, free: 116.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/1.423, allocations: 0.6427 MB / 0.9663 GB, free: 115.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/1.424, allocations: 40 kB / 0.9663 GB, free: 115.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.425, allocations: 115.9 kB / 0.9664 GB, free: 115.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004116/1.425, allocations: 181.6 kB / 0.9666 GB, free: 115.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.425, allocations: 60 kB / 0.9667 GB, free: 115.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001486/1.427, allocations: 1.295 MB / 0.9679 GB, free: 114.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.427, allocations: 4 kB / 0.9679 GB, free: 114.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002908/1.43, allocations: 1.137 MB / 0.9691 GB, free: 113 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002679/1.43, allocations: 171.6 kB / 0.9692 GB, free: 112.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005897/1.436, allocations: 4.672 MB / 0.9738 GB, free: 108.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.436, allocations: 0 / 0.9738 GB, free: 108.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00373/1.44, allocations: 2.914 MB / 0.9766 GB, free: 105.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/1.443, allocations: 0.8037 MB / 0.9774 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.458, allocations: 11.21 MB / 0.9884 GB, free: 93.11 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002981/1.461, allocations: 3.78 MB / 0.9921 GB, free: 89.29 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001961/1.463, allocations: 0.5596 MB / 0.9926 GB, free: 88.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/1.464, allocations: 151.4 kB / 0.9927 GB, free: 88.58 MB / 0.7169 GB Notification: Performance of SimCode: time 1.142e-06/1.464, allocations: 4 kB / 0.9927 GB, free: 88.57 MB / 0.7169 GB Notification: Performance of Templates: time 0.06769/1.531, allocations: 48.79 MB / 1.04 GB, free: 40.49 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) Environment - environmentSimulation: