Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001361/0.001361, allocations: 192.9 kB / 16.13 MB, free: 6.645 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 270.9 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5068 GB, free: 4.801 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 97.95 kB / 0.6057 GB, free: 25.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1632, allocations: 89.15 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03939/0.2026, allocations: 33 MB / 0.725 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02435/0.227, allocations: 14.8 MB / 0.7395 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0035/0.2305, allocations: 139.2 kB / 0.7396 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00941/0.24, allocations: 3.403 MB / 0.7429 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008997/0.249, allocations: 2.693 MB / 0.7456 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006979/0.256, allocations: 2.117 MB / 0.7476 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01462/0.2706, allocations: 12.2 MB / 0.7596 GB, free: 304 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.298/0.5687, allocations: 10.34 MB / 0.7697 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005899/0.5746, allocations: 3.435 MB / 0.773 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006267/0.5809, allocations: 4.1 MB / 0.777 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.5822, allocations: 485.7 kB / 0.7775 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.5861, allocations: 1.741 MB / 0.7792 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003168/0.5893, allocations: 2.59 MB / 0.7817 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004748/0.594, allocations: 3.117 MB / 0.7847 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.6043, allocations: 11 MB / 0.7955 GB, free: 11.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.6044, allocations: 1.5 kB / 0.7955 GB, free: 11.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6044, allocations: 3.938 kB / 0.7955 GB, free: 11.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003879/0.6048, allocations: 0 / 0.7955 GB, free: 11.19 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01646/0.6213, allocations: 5.978 MB / 0.8013 GB, free: 8.746 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.6213, allocations: 15.91 kB / 0.8013 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007399/0.6287, allocations: 1.138 MB / 0.8025 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007053/0.6358, allocations: 3.323 MB / 0.8057 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.636, allocations: 377.3 kB / 0.8061 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.6372, allocations: 496.6 kB / 0.8065 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/0.6492, allocations: 8.005 MB / 0.8144 GB, free: 1.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.6493, allocations: 24.73 kB / 0.8144 GB, free: 1.469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005155/0.6498, allocations: 218.3 kB / 0.8146 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009268/0.6508, allocations: 435.2 kB / 0.815 GB, free: 1.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008843/0.6596, allocations: 6.086 MB / 0.8209 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04082/0.7004, allocations: 35.15 MB / 0.8553 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.7035, allocations: 2.03 MB / 0.8573 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002695/0.7062, allocations: 1.856 MB / 0.8591 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.7064, allocations: 18 kB / 0.8591 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.041e-05/0.7064, allocations: 64.55 kB / 0.8591 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=171): time 3.136e-06/0.7065, allocations: 3.562 kB / 0.8591 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of matching and sorting (n=276): time 0.154/0.8605, allocations: 38.88 MB / 0.8971 GB, free: 408 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.8606, allocations: 81.58 kB / 0.8972 GB, free: 312 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003448/0.864, allocations: 2.278 MB / 0.8994 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003057/0.8643, allocations: 73.7 kB / 0.8995 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001773/0.8661, allocations: 2.281 MB / 0.9017 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009522/0.8671, allocations: 0.9336 MB / 0.9026 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.8681, allocations: 0.5022 MB / 0.9031 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8682, allocations: 305.1 kB / 0.9034 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/0.8713, allocations: 1.973 MB / 0.9053 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0037/0.875, allocations: 2.607 MB / 0.9079 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007305/0.8824, allocations: 4.927 MB / 0.9127 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.8824, allocations: 7.938 kB / 0.9127 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01594/0.8983, allocations: 7.752 MB / 0.9203 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.8984, allocations: 13.09 kB / 0.9203 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/0.8984, allocations: 16 kB / 0.9203 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009802/0.9082, allocations: 3.223 MB / 0.9234 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.91, allocations: 398.8 kB / 0.9238 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04608/0.9561, allocations: 31.1 MB / 0.9542 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/0.9591, allocations: 167.8 kB / 0.9544 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/0.9593, allocations: 108 kB / 0.9545 GB, free: 4.609 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003363/0.9627, allocations: 1.796 MB / 0.9562 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006698/0.9634, allocations: 336 kB / 0.9565 GB, free: 2.496 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/0.9786, allocations: 7.349 MB / 0.9637 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.9787, allocations: 32 kB / 0.9637 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.804e-05/0.9787, allocations: 28 kB / 0.9638 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.988e-05/0.9788, allocations: 19.92 kB / 0.9638 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0252/1.004, allocations: 12.93 MB / 0.9764 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/1.004, allocations: 12.16 kB / 0.9764 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009555/1.005, allocations: 222.5 kB / 0.9766 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008724/1.014, allocations: 2.853 MB / 0.9794 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002773/1.014, allocations: 55.98 kB / 0.9795 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04479/1.059, allocations: 29.87 MB / 1.009 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.059, allocations: 6.625 kB / 1.009 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/1.072, allocations: 6.888 MB / 1.015 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/1.074, allocations: 0.7822 MB / 1.016 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004738/1.075, allocations: 64.2 kB / 1.016 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.077, allocations: 167.8 kB / 1.016 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008995/1.078, allocations: 246.8 kB / 1.017 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/1.078, allocations: 80 kB / 1.017 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002355/1.08, allocations: 1.525 MB / 1.018 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/1.08, allocations: 0 / 1.018 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004065/1.084, allocations: 1.371 MB / 1.02 GB, free: 1.199 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003591/1.085, allocations: 181.7 kB / 1.02 GB, free: 1.031 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.097, allocations: 6.894 MB / 1.026 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.097, allocations: 0 / 1.026 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.008261/1.105, allocations: 4.415 MB / 1.031 GB, free: 5.648 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/1.11, allocations: 1.036 MB / 1.032 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/1.13, allocations: 12.48 MB / 1.044 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004575/1.134, allocations: 3.643 MB / 1.047 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002331/1.137, allocations: 0.5595 MB / 1.048 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/1.137, allocations: 155.4 kB / 1.048 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of SimCode: time 1.393e-06/1.137, allocations: 0 / 1.048 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of Templates: time 0.3879/1.525, allocations: 75.25 MB / 1.122 GB, free: 237.2 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)