Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009427/0.0009427, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008721/0.008721, allocations: 173.4 kB / 16.27 MB, free: 6.613 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.597/1.597, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.843/1.843, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005123/0.0005123, allocations: 18.83 kB / 0.6743 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2509, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03862/0.2896, allocations: 33.87 MB / 0.821 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01814/0.3078, allocations: 9.907 MB / 0.8306 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004311/0.3121, allocations: 131.2 kB / 0.8308 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003257/0.3154, allocations: 0.6977 MB / 0.8314 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008753/0.3242, allocations: 1.909 MB / 0.8333 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007531/0.3318, allocations: 1.602 MB / 0.8349 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01552/0.3474, allocations: 11.2 MB / 0.8458 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02241/0.3698, allocations: 12.15 MB / 0.8577 GB, free: 3.789 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005918/0.3758, allocations: 2.419 MB / 0.86 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006583/0.3824, allocations: 3.199 MB / 0.8632 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001969/0.3844, allocations: 280 kB / 0.8634 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004928/0.3894, allocations: 1.267 MB / 0.8647 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005121/0.3945, allocations: 2.104 MB / 0.8667 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008281/0.4028, allocations: 2.532 MB / 0.8692 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.4172, allocations: 9.862 MB / 0.8788 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4172, allocations: 0 / 0.8788 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.197e-06/0.4173, allocations: 0 / 0.8788 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000391/0.4177, allocations: 0 / 0.8788 GB, free: 14.05 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01169/0.4294, allocations: 4.36 MB / 0.8831 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.4294, allocations: 12.03 kB / 0.8831 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006056/0.4355, allocations: 0.9626 MB / 0.884 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007077/0.4426, allocations: 2.999 MB / 0.887 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004511/0.4431, allocations: 361.9 kB / 0.8873 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.4449, allocations: 464.3 kB / 0.8878 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02116/0.4661, allocations: 7.914 MB / 0.8955 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000276/0.4664, allocations: 19.78 kB / 0.8955 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00174/0.4682, allocations: 208 kB / 0.8957 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000647/0.4688, allocations: 369.1 kB / 0.896 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.4827, allocations: 5.933 MB / 0.9018 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6083/1.091, allocations: 36.26 MB / 0.9372 GB, free: 107 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003669/1.095, allocations: 2.146 MB / 0.9393 GB, free: 107 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/1.097, allocations: 1.48 MB / 0.9408 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.19e-05/1.097, allocations: 17.08 kB / 0.9408 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/1.097, allocations: 62.88 kB / 0.9409 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 4.939e-06/1.097, allocations: 0 / 0.9409 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01633/1.113, allocations: 7.569 MB / 0.9483 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/1.113, allocations: 72.23 kB / 0.9483 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/1.118, allocations: 1.861 MB / 0.9501 GB, free: 101.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/1.118, allocations: 58.64 kB / 0.9502 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001544/1.12, allocations: 2.121 MB / 0.9523 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004576/1.12, allocations: 0.5563 MB / 0.9528 GB, free: 99.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/1.12, allocations: 171.6 kB / 0.953 GB, free: 99.71 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.48e-05/1.12, allocations: 308.2 kB / 0.9533 GB, free: 99.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/1.122, allocations: 1.063 MB / 0.9543 GB, free: 99.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/1.124, allocations: 1.764 MB / 0.956 GB, free: 97.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/1.128, allocations: 3.056 MB / 0.959 GB, free: 95.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/1.128, allocations: 6.281 kB / 0.959 GB, free: 95.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007266/1.136, allocations: 3.918 MB / 0.9628 GB, free: 94.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/1.136, allocations: 17.78 kB / 0.9629 GB, free: 94.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/1.136, allocations: 23.56 kB / 0.9629 GB, free: 94.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/1.138, allocations: 0.9293 MB / 0.9638 GB, free: 93.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/1.14, allocations: 428.9 kB / 0.9642 GB, free: 93.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/1.155, allocations: 21.08 MB / 0.9848 GB, free: 74.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/1.158, allocations: 122.9 kB / 0.9849 GB, free: 74.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/1.158, allocations: 94.78 kB / 0.985 GB, free: 74.89 MB / 0.7325 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003345/1.161, allocations: 1.648 MB / 0.9866 GB, free: 73.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005882/1.162, allocations: 262.1 kB / 0.9869 GB, free: 73.74 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004935/1.167, allocations: 3.262 MB / 0.99 GB, free: 71.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/1.167, allocations: 19.38 kB / 0.9901 GB, free: 71.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/1.167, allocations: 9.25 kB / 0.9901 GB, free: 71.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/1.167, allocations: 7.969 kB / 0.9901 GB, free: 71.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.178, allocations: 7.547 MB / 0.9974 GB, free: 67.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.179, allocations: 7.578 kB / 0.9975 GB, free: 67.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008889/1.179, allocations: 214.6 kB / 0.9977 GB, free: 67.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/1.182, allocations: 0.8982 MB / 0.9985 GB, free: 66.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.915e-05/1.182, allocations: 35.31 kB / 0.9986 GB, free: 66.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/1.197, allocations: 21.04 MB / 1.019 GB, free: 45.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/1.197, allocations: 4 kB / 1.019 GB, free: 45.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/1.202, allocations: 3.388 MB / 1.022 GB, free: 42.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.204, allocations: 0.5331 MB / 1.023 GB, free: 41.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003851/1.204, allocations: 32 kB / 1.023 GB, free: 41.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.205, allocations: 95.89 kB / 1.023 GB, free: 41.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004338/1.206, allocations: 142.3 kB / 1.023 GB, free: 41.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.586e-05/1.206, allocations: 52 kB / 1.023 GB, free: 41.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001506/1.207, allocations: 1.229 MB / 1.024 GB, free: 39.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.207, allocations: 0 / 1.024 GB, free: 39.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003301/1.211, allocations: 0.9023 MB / 1.025 GB, free: 39 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000284/1.211, allocations: 155 kB / 1.025 GB, free: 38.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005767/1.217, allocations: 4.424 MB / 1.03 GB, free: 34.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.217, allocations: 0 / 1.03 GB, free: 34.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003587/1.22, allocations: 2.994 MB / 1.033 GB, free: 31.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00601/1.226, allocations: 0.7699 MB / 1.033 GB, free: 30.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.242, allocations: 9.706 MB / 1.043 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004041/1.247, allocations: 3.216 MB / 1.046 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002196/1.249, allocations: 0.5176 MB / 1.047 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/1.249, allocations: 139.4 kB / 1.047 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of SimCode: time 1.423e-06/1.249, allocations: 4 kB / 1.047 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of Templates: time 0.06789/1.317, allocations: 40.88 MB / 1.087 GB, free: 8.371 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: