Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001012/0.001012, allocations: 191 kB / 17.29 MB, free: 5.516 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 295.3 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9312/0.9312, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 94.61 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1545, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.2917/0.4462, allocations: 34.83 MB / 0.7156 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.4655, allocations: 11.49 MB / 0.7268 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003744/0.4693, allocations: 162.8 kB / 0.727 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.4809, allocations: 4.256 MB / 0.7311 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008669/0.4896, allocations: 1.979 MB / 0.7331 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007702/0.4974, allocations: 2.417 MB / 0.7354 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.5083, allocations: 8.467 MB / 0.7437 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01448/0.5228, allocations: 11.13 MB / 0.7546 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006539/0.5294, allocations: 3.735 MB / 0.7582 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006599/0.536, allocations: 4.191 MB / 0.7623 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001926/0.538, allocations: 0.7812 MB / 0.7631 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004876/0.5429, allocations: 2.024 MB / 0.7651 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003762/0.5467, allocations: 3.06 MB / 0.768 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005236/0.5519, allocations: 3.393 MB / 0.7714 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.564, allocations: 11.98 MB / 0.7831 GB, free: 7.605 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5641, allocations: 0 / 0.7831 GB, free: 7.605 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5641, allocations: 0 / 0.7831 GB, free: 7.605 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003232/0.5644, allocations: 0 / 0.7831 GB, free: 7.605 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01283/0.5773, allocations: 5.806 MB / 0.7887 GB, free: 1.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5773, allocations: 16.03 kB / 0.7887 GB, free: 1.711 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005638/0.583, allocations: 1.052 MB / 0.7898 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007496/0.5905, allocations: 3.453 MB / 0.7931 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.5908, allocations: 419.3 kB / 0.7935 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/0.5918, allocations: 0.5432 MB / 0.7941 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01557/0.6074, allocations: 9.079 MB / 0.8029 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.6075, allocations: 27.69 kB / 0.803 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005366/0.6081, allocations: 236 kB / 0.8032 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000329/0.6084, allocations: 346.8 kB / 0.8035 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.62, allocations: 6.83 MB / 0.8102 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03703/0.657, allocations: 39.79 MB / 0.849 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/0.6605, allocations: 3.109 MB / 0.8521 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/0.6629, allocations: 1.97 MB / 0.854 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.663, allocations: 21.98 kB / 0.854 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.6631, allocations: 56.5 kB / 0.8541 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=179): time 3.727e-06/0.6631, allocations: 4 kB / 0.8541 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=182): time 0.02275/0.6858, allocations: 9.966 MB / 0.8638 GB, free: 484 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.6859, allocations: 73.41 kB / 0.8639 GB, free: 400 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.6879, allocations: 1.522 MB / 0.8654 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.688, allocations: 57.7 kB / 0.8654 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.6893, allocations: 2.253 MB / 0.8676 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005147/0.6898, allocations: 0.6354 MB / 0.8683 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005809/0.6904, allocations: 411.9 kB / 0.8686 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.6905, allocations: 305.1 kB / 0.8689 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.6921, allocations: 1.179 MB / 0.8701 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/0.6942, allocations: 1.885 MB / 0.8719 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003884/0.6981, allocations: 3.375 MB / 0.8752 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.6981, allocations: 4 kB / 0.8752 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007247/0.7053, allocations: 4.581 MB / 0.8797 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.7054, allocations: 16 kB / 0.8797 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/0.7054, allocations: 23.98 kB / 0.8797 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/0.7091, allocations: 1.586 MB / 0.8813 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.7102, allocations: 351.4 kB / 0.8816 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02158/0.7318, allocations: 18.58 MB / 0.8998 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.7336, allocations: 115.9 kB / 0.8999 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.7338, allocations: 99.98 kB / 0.9 GB, free: 10.11 MB / 0.67 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002862/0.7366, allocations: 1.89 MB / 0.9018 GB, free: 8.211 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/0.737, allocations: 221.4 kB / 0.902 GB, free: 7.992 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/0.7437, allocations: 4.094 MB / 0.906 GB, free: 3.871 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.7437, allocations: 20 kB / 0.9061 GB, free: 3.852 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.7437, allocations: 16 kB / 0.9061 GB, free: 3.836 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.7437, allocations: 15.94 kB / 0.9061 GB, free: 3.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.7585, allocations: 9.453 MB / 0.9153 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.7585, allocations: 4 kB / 0.9153 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007805/0.7593, allocations: 179.7 kB / 0.9155 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003298/0.7626, allocations: 1.363 MB / 0.9168 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.7627, allocations: 32 kB / 0.9169 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02054/0.7833, allocations: 17.36 MB / 0.9338 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.7833, allocations: 11.94 kB / 0.9338 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006381/0.7897, allocations: 4.07 MB / 0.9378 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.791, allocations: 0.5256 MB / 0.9383 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/0.7913, allocations: 39.94 kB / 0.9383 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008791/0.7922, allocations: 87.89 kB / 0.9384 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004466/0.7926, allocations: 161.7 kB / 0.9386 GB, free: 1.605 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.7928, allocations: 44 kB / 0.9386 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00128/0.7941, allocations: 1.005 MB / 0.9396 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7941, allocations: 0 / 0.9396 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002724/0.7968, allocations: 0.9922 MB / 0.9406 GB, free: 15.54 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002431/0.797, allocations: 141.2 kB / 0.9407 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006277/0.8033, allocations: 4.304 MB / 0.9449 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8033, allocations: 0 / 0.9449 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003927/0.8073, allocations: 2.666 MB / 0.9475 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.8102, allocations: 0.7849 MB / 0.9483 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2785/1.089, allocations: 8.597 MB / 0.9567 GB, free: 225.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005363/1.094, allocations: 3.573 MB / 0.9602 GB, free: 224.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001646/1.096, allocations: 463.4 kB / 0.9606 GB, free: 224.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/1.096, allocations: 115 kB / 0.9607 GB, free: 224.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.152e-06/1.096, allocations: 0.7812 kB / 0.9607 GB, free: 224.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.07477/1.171, allocations: 43.92 MB / 1.004 GB, free: 210.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)