Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001623/0.001623, 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.001912/0.001913, allocations: 191.2 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.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.001271/0.001271, allocations: 64.72 kB / 0.6708 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2491, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03316/0.2823, allocations: 32.88 MB / 0.8148 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02364/0.306, allocations: 14.87 MB / 0.8293 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005144/0.3111, allocations: 147.2 kB / 0.8295 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009046/0.3203, allocations: 3.387 MB / 0.8328 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.3313, allocations: 2.686 MB / 0.8354 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006127/0.3374, allocations: 2.131 MB / 0.8375 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01301/0.3504, allocations: 12.2 MB / 0.8494 GB, free: 9.496 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01441/0.3649, allocations: 10.36 MB / 0.8595 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005827/0.3707, allocations: 3.434 MB / 0.8629 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006805/0.3776, allocations: 4.088 MB / 0.8669 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.3791, allocations: 491.9 kB / 0.8673 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004439/0.3835, allocations: 1.747 MB / 0.869 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002861/0.3864, allocations: 2.584 MB / 0.8716 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004843/0.3913, allocations: 3.115 MB / 0.8746 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.4042, allocations: 10.99 MB / 0.8853 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4043, allocations: 0 / 0.8853 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4043, allocations: 0 / 0.8853 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003771/0.4047, allocations: 4 kB / 0.8853 GB, free: 4.492 MB / 0.7012 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.0146/0.4193, allocations: 5.975 MB / 0.8912 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.4194, allocations: 16.03 kB / 0.8912 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006797/0.4262, allocations: 1.134 MB / 0.8923 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006226/0.4324, allocations: 3.321 MB / 0.8955 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.4327, allocations: 378.4 kB / 0.8959 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008908/0.4336, allocations: 500 kB / 0.8964 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.4461, allocations: 8.013 MB / 0.9042 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/0.4462, allocations: 19.78 kB / 0.9042 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005272/0.4468, allocations: 216 kB / 0.9044 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001009/0.4478, allocations: 433.6 kB / 0.9048 GB, free: 80 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.4579, allocations: 6.092 MB / 0.9108 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5145/0.9724, allocations: 35.14 MB / 0.9451 GB, free: 100.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.9754, allocations: 2.025 MB / 0.9471 GB, free: 99.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002438/0.9779, allocations: 1.871 MB / 0.9489 GB, free: 99.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.978, allocations: 21.09 kB / 0.9489 GB, free: 99.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.9781, allocations: 51.22 kB / 0.949 GB, free: 99.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 4.097e-06/0.9781, allocations: 3.828 kB / 0.949 GB, free: 99.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1431/1.121, allocations: 38.88 MB / 0.987 GB, free: 81.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/1.121, allocations: 81.58 kB / 0.987 GB, free: 81.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/1.124, allocations: 2.282 MB / 0.9893 GB, free: 79.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003756/1.125, allocations: 76.33 kB / 0.9893 GB, free: 79.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/1.126, allocations: 2.276 MB / 0.9916 GB, free: 76.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/1.127, allocations: 0.9303 MB / 0.9925 GB, free: 75.94 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009455/1.128, allocations: 0.51 MB / 0.993 GB, free: 75.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.2e-05/1.128, allocations: 301.1 kB / 0.9932 GB, free: 75.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/1.13, allocations: 1.976 MB / 0.9952 GB, free: 73.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/1.133, allocations: 2.606 MB / 0.9977 GB, free: 70.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004824/1.138, allocations: 4.929 MB / 1.003 GB, free: 65.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.138, allocations: 8 kB / 1.003 GB, free: 65.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01209/1.15, allocations: 7.752 MB / 1.01 GB, free: 57.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/1.15, allocations: 16 kB / 1.01 GB, free: 57.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/1.15, allocations: 20.16 kB / 1.01 GB, free: 57.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008138/1.158, allocations: 3.216 MB / 1.013 GB, free: 54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/1.159, allocations: 399.4 kB / 1.014 GB, free: 53.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03269/1.192, allocations: 31.08 MB / 1.044 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/1.195, allocations: 171.8 kB / 1.044 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/1.196, allocations: 112 kB / 1.044 GB, free: 21.46 MB / 0.7325 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.003429/1.199, allocations: 1.794 MB / 1.046 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007916/1.2, allocations: 332.1 kB / 1.046 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/1.211, allocations: 7.361 MB / 1.054 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/1.211, allocations: 28 kB / 1.054 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-05/1.212, allocations: 28 kB / 1.054 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/1.212, allocations: 11.95 kB / 1.054 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/1.231, allocations: 12.93 MB / 1.066 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.231, allocations: 7.188 kB / 1.066 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009004/1.232, allocations: 231.6 kB / 1.066 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008274/1.24, allocations: 2.849 MB / 1.069 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002816/1.24, allocations: 67.81 kB / 1.069 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03944/1.28, allocations: 29.88 MB / 1.098 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.28, allocations: 11.94 kB / 1.099 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/1.292, allocations: 6.89 MB / 1.105 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/1.294, allocations: 0.7782 MB / 1.106 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000484/1.295, allocations: 56 kB / 1.106 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.296, allocations: 167.8 kB / 1.106 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009041/1.297, allocations: 253.5 kB / 1.106 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/1.297, allocations: 76 kB / 1.107 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002147/1.299, allocations: 1.525 MB / 1.108 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/1.299, allocations: 0 / 1.108 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004127/1.303, allocations: 1.367 MB / 1.109 GB, free: 1.559 MB / 0.7794 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.0004004/1.304, allocations: 182.9 kB / 1.11 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0113/1.315, allocations: 6.9 MB / 1.116 GB, free: 10.38 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.315, allocations: 4 kB / 1.116 GB, free: 10.38 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.007939/1.323, allocations: 4.399 MB / 1.121 GB, free: 5.902 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005515/1.329, allocations: 1.04 MB / 1.122 GB, free: 4.891 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/1.352, allocations: 12.47 MB / 1.134 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005793/1.358, allocations: 3.642 MB / 1.137 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002508/1.36, allocations: 0.5634 MB / 1.138 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/1.361, allocations: 159.4 kB / 1.138 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of SimCode: time 1.573e-06/1.361, allocations: 0 / 1.138 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of Templates: time 0.1276/1.489, allocations: 75.22 MB / 1.211 GB, free: 9.711 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)