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.001521/0.001521, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001123/0.001123, allocations: 189.6 kB / 17.29 MB, free: 5.516 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.787/1.787, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001493/0.001493, allocations: 67.89 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2365, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.5021/0.7386, allocations: 35 MB / 0.819 GB, free: 28.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01994/0.7586, allocations: 10 MB / 0.8287 GB, free: 21.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005226/0.7639, allocations: 151.9 kB / 0.8289 GB, free: 21.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.7746, allocations: 3.785 MB / 0.8326 GB, free: 19.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008465/0.7831, allocations: 2.035 MB / 0.8346 GB, free: 18.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006901/0.79, allocations: 1.97 MB / 0.8365 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01389/0.8039, allocations: 7.97 MB / 0.8443 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01658/0.8205, allocations: 9.596 MB / 0.8536 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009624/0.8302, allocations: 3.374 MB / 0.8569 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.8406, allocations: 3.728 MB / 0.8606 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00416/0.8448, allocations: 0.6782 MB / 0.8612 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007323/0.8521, allocations: 1.444 MB / 0.8626 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006468/0.8586, allocations: 2.63 MB / 0.8652 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01126/0.8699, allocations: 3.099 MB / 0.8682 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0173/0.8873, allocations: 10.38 MB / 0.8784 GB, free: 10.63 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.8873, allocations: 0 / 0.8784 GB, free: 10.63 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.188e-06/0.8873, allocations: 0 / 0.8784 GB, free: 10.63 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004383/0.8878, allocations: 3.938 kB / 0.8784 GB, free: 10.63 MB / 0.67 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.01921/0.907, allocations: 5.405 MB / 0.8837 GB, free: 5.148 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.9071, allocations: 8.031 kB / 0.8837 GB, free: 5.141 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005468/0.9125, allocations: 0.9665 MB / 0.8846 GB, free: 4.168 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007446/0.92, allocations: 2.991 MB / 0.8875 GB, free: 1.121 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/0.9204, allocations: 357.9 kB / 0.8879 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/0.9219, allocations: 468.3 kB / 0.8883 GB, free: 320 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.9414, allocations: 7.906 MB / 0.896 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000132/0.9416, allocations: 23.78 kB / 0.8961 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007444/0.9424, allocations: 212 kB / 0.8963 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006686/0.9431, allocations: 373.1 kB / 0.8966 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/0.9579, allocations: 5.937 MB / 0.9024 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0619/1.02, allocations: 35.95 MB / 0.9375 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006684/1.027, allocations: 2.138 MB / 0.9396 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003862/1.031, allocations: 1.482 MB / 0.9411 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/1.031, allocations: 17.31 kB / 0.9411 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.676e-05/1.031, allocations: 59.81 kB / 0.9411 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 6.653e-06/1.031, allocations: 0 / 0.9411 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.02663/1.057, allocations: 7.54 MB / 0.9485 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/1.058, allocations: 72.66 kB / 0.9486 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004665/1.062, allocations: 1.864 MB / 0.9504 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003592/1.063, allocations: 53.7 kB / 0.9504 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002673/1.065, allocations: 2.123 MB / 0.9525 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.066, allocations: 0.5584 MB / 0.9531 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/1.068, allocations: 407.7 kB / 0.9534 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.068, allocations: 301.1 kB / 0.9537 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/1.071, allocations: 1.066 MB / 0.9548 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003535/1.074, allocations: 1.756 MB / 0.9565 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005982/1.08, allocations: 3.049 MB / 0.9595 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/1.08, allocations: 4 kB / 0.9595 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00767/1.088, allocations: 3.929 MB / 0.9633 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/1.088, allocations: 12 kB / 0.9633 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/1.088, allocations: 24 kB / 0.9633 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/1.091, allocations: 0.939 MB / 0.9643 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/1.092, allocations: 423.3 kB / 0.9647 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/1.114, allocations: 22.76 MB / 0.9869 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/1.117, allocations: 115.9 kB / 0.987 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/1.117, allocations: 99.98 kB / 0.9871 GB, free: 4.773 MB / 0.7794 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.003393/1.121, allocations: 1.648 MB / 0.9887 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006256/1.121, allocations: 257 kB / 0.9889 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005823/1.127, allocations: 3.264 MB / 0.9921 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.127, allocations: 16 kB / 0.9921 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/1.127, allocations: 8 kB / 0.9922 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/1.127, allocations: 7.969 kB / 0.9922 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/1.142, allocations: 7.556 MB / 0.9995 GB, free: 7.797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.142, allocations: 4.562 kB / 0.9995 GB, free: 7.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009616/1.143, allocations: 220.2 kB / 0.9998 GB, free: 7.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002431/1.145, allocations: 0.8886 MB / 1.001 GB, free: 6.652 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/1.145, allocations: 32 kB / 1.001 GB, free: 6.621 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.022/1.167, allocations: 22.72 MB / 1.023 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.167, allocations: 4 kB / 1.023 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00579/1.173, allocations: 3.379 MB / 1.026 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.175, allocations: 0.5332 MB / 1.027 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/1.175, allocations: 32 kB / 1.027 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.176, allocations: 100.9 kB / 1.027 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000447/1.177, allocations: 137 kB / 1.027 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.177, allocations: 48 kB / 1.027 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001728/1.178, allocations: 1.225 MB / 1.028 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/1.178, allocations: 0 / 1.028 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003095/1.182, allocations: 0.9023 MB / 1.029 GB, free: 7.711 MB / 0.8262 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.0002926/1.182, allocations: 161 kB / 1.029 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006734/1.189, allocations: 4.428 MB / 1.034 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.189, allocations: 4 kB / 1.034 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004326/1.193, allocations: 2.989 MB / 1.036 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/1.197, allocations: 0.8273 MB / 1.037 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/1.211, allocations: 7.578 MB / 1.045 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003748/1.215, allocations: 3.209 MB / 1.048 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001875/1.217, allocations: 0.5293 MB / 1.048 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/1.218, allocations: 143.3 kB / 1.048 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of SimCode: time 1.373e-06/1.218, allocations: 0 / 1.048 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of Templates: time 0.07357/1.291, allocations: 40.99 MB / 1.088 GB, free: 11.08 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)