Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001011/0.001011, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009667/0.009667, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.516/1.516, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.739/1.739, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.000558/0.0005578, allocations: 16.16 kB / 0.6743 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2695, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03796/0.3075, allocations: 33.58 MB / 0.8207 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01915/0.3267, allocations: 11.52 MB / 0.8319 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003396/0.3301, allocations: 139.2 kB / 0.8321 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002473/0.3326, allocations: 0.6899 MB / 0.8327 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006394/0.339, allocations: 1.871 MB / 0.8346 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006042/0.3451, allocations: 1.994 MB / 0.8365 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01544/0.3606, allocations: 12.39 MB / 0.8486 GB, free: 13.21 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02615/0.3867, allocations: 14.34 MB / 0.8626 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006279/0.3931, allocations: 2.606 MB / 0.8652 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006571/0.3997, allocations: 3.566 MB / 0.8687 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001578/0.4013, allocations: 324 kB / 0.869 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004815/0.4061, allocations: 1.911 MB / 0.8708 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00411/0.4102, allocations: 2.455 MB / 0.8732 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00584/0.4161, allocations: 2.734 MB / 0.8759 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01621/0.4323, allocations: 11.44 MB / 0.8871 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4324, allocations: 0 / 0.8871 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.045e-06/0.4324, allocations: 0 / 0.8871 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004828/0.4329, allocations: 0 / 0.8871 GB, free: 5.656 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01399/0.4469, allocations: 4.652 MB / 0.8916 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.447, allocations: 16.02 kB / 0.8916 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007271/0.4542, allocations: 1.06 MB / 0.8927 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007081/0.4614, allocations: 3.258 MB / 0.8958 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004439/0.4618, allocations: 419.5 kB / 0.8962 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001943/0.4638, allocations: 0.5315 MB / 0.8968 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02138/0.4852, allocations: 9.079 MB / 0.9056 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002743/0.4855, allocations: 35.67 kB / 0.9057 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001436/0.4869, allocations: 236 kB / 0.9059 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004117/0.4874, allocations: 346.8 kB / 0.9062 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5043/0.9917, allocations: 6.828 MB / 0.9129 GB, free: 107 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04124/1.033, allocations: 40.2 MB / 0.9521 GB, free: 73.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003636/1.037, allocations: 3.105 MB / 0.9552 GB, free: 71.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002617/1.039, allocations: 1.944 MB / 0.9571 GB, free: 70.83 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.383e-05/1.039, allocations: 23.78 kB / 0.9571 GB, free: 70.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/1.039, allocations: 54.62 kB / 0.9571 GB, free: 70.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 4.008e-06/1.039, allocations: 0 / 0.9571 GB, free: 70.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02531/1.065, allocations: 10.04 MB / 0.9669 GB, free: 65.06 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.065, allocations: 69.22 kB / 0.967 GB, free: 65 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/1.067, allocations: 1.529 MB / 0.9685 GB, free: 64.12 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002556/1.068, allocations: 55.73 kB / 0.9686 GB, free: 64.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001703/1.069, allocations: 2.253 MB / 0.9708 GB, free: 62.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006697/1.07, allocations: 0.6362 MB / 0.9714 GB, free: 61.55 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/1.07, allocations: 181.3 kB / 0.9716 GB, free: 61.44 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/1.071, allocations: 309.1 kB / 0.9718 GB, free: 61.13 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/1.072, allocations: 1.178 MB / 0.973 GB, free: 60.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/1.074, allocations: 1.881 MB / 0.9748 GB, free: 58.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/1.078, allocations: 3.376 MB / 0.9781 GB, free: 56.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/1.078, allocations: 4.656 kB / 0.9781 GB, free: 56.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007463/1.085, allocations: 4.577 MB / 0.9826 GB, free: 53.92 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.086, allocations: 16.06 kB / 0.9826 GB, free: 53.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/1.086, allocations: 24 kB / 0.9826 GB, free: 53.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/1.089, allocations: 1.583 MB / 0.9842 GB, free: 52.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.09, allocations: 355.3 kB / 0.9845 GB, free: 51.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/1.107, allocations: 17.08 MB / 1.001 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.109, allocations: 119.9 kB / 1.001 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/1.109, allocations: 99.97 kB / 1.001 GB, free: 34.13 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 (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.003056/1.112, allocations: 1.903 MB / 1.003 GB, free: 32.21 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/1.113, allocations: 221.4 kB / 1.003 GB, free: 32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006245/1.119, allocations: 4.09 MB / 1.007 GB, free: 27.88 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/1.119, allocations: 20 kB / 1.007 GB, free: 27.86 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/1.119, allocations: 20 kB / 1.008 GB, free: 27.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/1.119, allocations: 7.969 kB / 1.008 GB, free: 27.83 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/1.134, allocations: 9.447 MB / 1.017 GB, free: 18.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/1.134, allocations: 7.938 kB / 1.017 GB, free: 18.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/1.134, allocations: 192.2 kB / 1.017 GB, free: 17.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003105/1.138, allocations: 1.352 MB / 1.018 GB, free: 16.61 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/1.138, allocations: 32 kB / 1.018 GB, free: 16.58 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/1.154, allocations: 15.98 MB / 1.034 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/1.154, allocations: 11.98 kB / 1.034 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007221/1.161, allocations: 4.073 MB / 1.038 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.163, allocations: 0.5373 MB / 1.038 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/1.163, allocations: 28 kB / 1.038 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009789/1.164, allocations: 91.89 kB / 1.039 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/1.165, allocations: 161.7 kB / 1.039 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.165, allocations: 44 kB / 1.039 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001431/1.166, allocations: 1.008 MB / 1.04 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.166, allocations: 0 / 1.04 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003622/1.17, allocations: 0.9883 MB / 1.041 GB, free: 9.004 MB / 0.7325 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.0003337/1.17, allocations: 154.4 kB / 1.041 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00733/1.177, allocations: 4.284 MB / 1.045 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.177, allocations: 0 / 1.045 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004754/1.182, allocations: 2.68 MB / 1.048 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004963/1.187, allocations: 0.7108 MB / 1.048 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/1.205, allocations: 11.02 MB / 1.059 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004366/1.21, allocations: 3.565 MB / 1.063 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001631/1.212, allocations: 467.9 kB / 1.063 GB, free: 1.945 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/1.212, allocations: 119.4 kB / 1.063 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of SimCode: time 9.72e-07/1.212, allocations: 0 / 1.063 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of Templates: time 0.07852/1.29, allocations: 41.82 MB / 1.104 GB, free: 8.457 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) Environment - environmentSimulation: