Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.001219, allocations: 107.1 kB / 15.99 MB, free: 6.352 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.001197/0.001197, allocations: 199.6 kB / 16.91 MB, free: 6.188 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.423/1.423, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.7/1.7, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001375/0.001375, allocations: 67.89 kB / 0.6717 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2427, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01467/0.2574, allocations: 11.87 MB / 0.7951 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009332/0.2668, allocations: 5.514 MB / 0.8005 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.2683, allocations: 35.81 kB / 0.8005 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003072/0.2714, allocations: 0.9762 MB / 0.8015 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.2735, allocations: 0.6031 MB / 0.8021 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.2763, allocations: 0.9005 MB / 0.803 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003575/0.2799, allocations: 2.603 MB / 0.8055 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006112/0.286, allocations: 4.437 MB / 0.8098 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.2881, allocations: 1.2 MB / 0.811 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.2902, allocations: 1.395 MB / 0.8124 GB, free: 284 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004804/0.2907, allocations: 255.9 kB / 0.8126 GB, free: 28 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.2919, allocations: 0.5345 MB / 0.8131 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.293, allocations: 0.9513 MB / 0.8141 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.2946, allocations: 1.058 MB / 0.8151 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003797/0.2984, allocations: 3.309 MB / 0.8183 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2985, allocations: 0 / 0.8183 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.093e-06/0.2985, allocations: 4 kB / 0.8183 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001053/0.2986, allocations: 0 / 0.8183 GB, free: 10.16 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004745/0.3033, allocations: 2.081 MB / 0.8204 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3034, allocations: 8.031 kB / 0.8204 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/0.3066, allocations: 0.7011 MB / 0.8211 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.3091, allocations: 1.189 MB / 0.8222 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.3092, allocations: 115.6 kB / 0.8223 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005205/0.3097, allocations: 168 kB / 0.8225 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006283/0.316, allocations: 2.94 MB / 0.8254 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.576e-05/0.3161, allocations: 0 / 0.8254 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.3164, allocations: 67.98 kB / 0.8254 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003845/0.3167, allocations: 163.1 kB / 0.8256 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004615/0.3214, allocations: 2.495 MB / 0.828 GB, free: 68 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/0.3368, allocations: 10.79 MB / 0.8385 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.3383, allocations: 0.9042 MB / 0.8394 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007715/0.339, allocations: 0.496 MB / 0.8399 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.3392, allocations: 97.45 kB / 0.84 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.3393, allocations: 38.92 kB / 0.84 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 3.216e-06/0.3393, allocations: 7.938 kB / 0.8401 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.02676/0.3661, allocations: 7.692 MB / 0.8476 GB, free: 11 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.3662, allocations: 59.97 kB / 0.8476 GB, free: 10.93 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.3675, allocations: 0.9297 MB / 0.8485 GB, free: 9.992 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.3677, allocations: 41.7 kB / 0.8486 GB, free: 9.945 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005683/0.3683, allocations: 0.7697 MB / 0.8493 GB, free: 9.16 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.3685, allocations: 252.5 kB / 0.8496 GB, free: 8.91 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.3689, allocations: 214.8 kB / 0.8498 GB, free: 8.695 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.3691, allocations: 394.8 kB / 0.8501 GB, free: 8.301 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.3704, allocations: 0.7789 MB / 0.8509 GB, free: 7.516 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.3724, allocations: 1.128 MB / 0.852 GB, free: 6.234 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003808/0.3762, allocations: 1.947 MB / 0.8539 GB, free: 4.137 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3762, allocations: 0 / 0.8539 GB, free: 4.137 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01003/0.3863, allocations: 3.604 MB / 0.8574 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.3863, allocations: 11.98 kB / 0.8574 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.3864, allocations: 12.38 kB / 0.8574 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008248/0.3946, allocations: 1.916 MB / 0.8593 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009327/0.3956, allocations: 215.6 kB / 0.8595 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/0.4123, allocations: 10.6 MB / 0.8699 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.4138, allocations: 175.6 kB / 0.87 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.4139, allocations: 47.98 kB / 0.8701 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00227/0.4162, allocations: 1.494 MB / 0.8715 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001324/0.4176, allocations: 1.104 MB / 0.8726 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002556/0.4201, allocations: 1.884 MB / 0.8745 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.448e-06/0.4202, allocations: 0 / 0.8745 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.008209/0.4284, allocations: 3.045 MB / 0.8774 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.4284, allocations: 15.88 kB / 0.8774 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.4285, allocations: 12 kB / 0.8775 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005062/0.4335, allocations: 1.199 MB / 0.8786 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.4347, allocations: 275.5 kB / 0.8789 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008597/0.4433, allocations: 5.843 MB / 0.8846 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.4447, allocations: 163.7 kB / 0.8848 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.4449, allocations: 52.17 kB / 0.8848 GB, free: 3.734 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003568/0.4452, allocations: 247.9 kB / 0.885 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.4454, allocations: 82.97 kB / 0.8851 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008594/0.454, allocations: 3.148 MB / 0.8882 GB, free: 236 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.4541, allocations: 8 kB / 0.8882 GB, free: 228 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4541, allocations: 0 / 0.8882 GB, free: 228 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.4541, allocations: 3.984 kB / 0.8882 GB, free: 224 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.466, allocations: 5.247 MB / 0.8933 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.4661, allocations: 8.25 kB / 0.8933 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.4666, allocations: 99.84 kB / 0.8934 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007009/0.4736, allocations: 1.721 MB / 0.8951 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.4738, allocations: 16 kB / 0.8951 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/0.4882, allocations: 10.01 MB / 0.9049 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4883, allocations: 0 / 0.9049 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008482/0.4968, allocations: 3.018 MB / 0.9079 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007459/0.4976, allocations: 320.1 kB / 0.9082 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.4978, allocations: 16 kB / 0.9082 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/0.4987, allocations: 135.8 kB / 0.9083 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/0.499, allocations: 64.41 kB / 0.9084 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/0.4991, allocations: 20 kB / 0.9084 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008833/0.5, allocations: 0.6629 MB / 0.909 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.61e-07/0.5, allocations: 0 / 0.909 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002303/0.5023, allocations: 0.6836 MB / 0.9097 GB, free: 9.746 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003138/0.5027, allocations: 139 kB / 0.9098 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006264/0.5089, allocations: 3.663 MB / 0.9134 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.509, allocations: 0 / 0.9134 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002098/0.5111, allocations: 1.254 MB / 0.9146 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.5126, allocations: 292.5 kB / 0.9149 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3485/0.861, allocations: 4.361 MB / 0.9192 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002145/0.8632, allocations: 1.737 MB / 0.9209 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.8636, allocations: 67.75 kB / 0.9209 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.432e-06/0.8636, allocations: 1.406 kB / 0.9209 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.05059/0.9142, allocations: 42.72 MB / 0.9627 GB, free: 112.7 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)