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.001732/0.001732, allocations: 106.9 kB / 16.37 MB, free: 6.309 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.002061/0.002061, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.894/1.894, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001678/0.001678, allocations: 71.91 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2365, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.4956/0.7321, allocations: 35.01 MB / 0.819 GB, free: 28.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0193/0.7515, allocations: 10 MB / 0.8288 GB, free: 21.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006963/0.7585, allocations: 143.5 kB / 0.8289 GB, free: 21.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0106/0.7692, allocations: 3.79 MB / 0.8326 GB, free: 19.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009066/0.7783, allocations: 2.038 MB / 0.8346 GB, free: 18.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008306/0.7866, allocations: 1.964 MB / 0.8365 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01448/0.8011, allocations: 7.967 MB / 0.8443 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01762/0.8188, allocations: 9.59 MB / 0.8537 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008134/0.827, allocations: 3.381 MB / 0.857 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00923/0.8363, allocations: 3.726 MB / 0.8606 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003814/0.8401, allocations: 0.6783 MB / 0.8613 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007436/0.8476, allocations: 1.445 MB / 0.8627 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.008623/0.8562, allocations: 2.624 MB / 0.8652 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01419/0.8705, allocations: 3.103 MB / 0.8683 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01981/0.8903, allocations: 10.39 MB / 0.8784 GB, free: 10.61 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.8904, allocations: 0 / 0.8784 GB, free: 10.61 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.845e-06/0.8904, allocations: 0 / 0.8784 GB, free: 10.61 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006406/0.8911, allocations: 0 / 0.8784 GB, free: 10.61 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.02819/0.9193, allocations: 5.401 MB / 0.8837 GB, free: 5.129 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.9194, allocations: 8.031 kB / 0.8837 GB, free: 5.121 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.9301, allocations: 0.9664 MB / 0.8846 GB, free: 4.148 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.9434, allocations: 3.182 MB / 0.8877 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005967/0.9441, allocations: 357.9 kB / 0.8881 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003149/0.9473, allocations: 464.3 kB / 0.8885 GB, free: 108 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03039/0.9777, allocations: 7.911 MB / 0.8962 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000372/0.9781, allocations: 23.72 kB / 0.8963 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002555/0.9807, allocations: 212 kB / 0.8965 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009768/0.9817, allocations: 373.1 kB / 0.8968 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/1.002, allocations: 5.933 MB / 0.9026 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05069/1.053, allocations: 35.95 MB / 0.9377 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003588/1.056, allocations: 2.146 MB / 0.9398 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/1.058, allocations: 1.489 MB / 0.9413 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.692e-05/1.058, allocations: 21.31 kB / 0.9413 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/1.058, allocations: 55.81 kB / 0.9413 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 6.673e-06/1.058, allocations: 0 / 0.9413 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01497/1.073, allocations: 7.54 MB / 0.9487 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/1.074, allocations: 68.72 kB / 0.9488 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002799/1.076, allocations: 1.856 MB / 0.9506 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/1.077, allocations: 57.7 kB / 0.9506 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001422/1.078, allocations: 2.123 MB / 0.9527 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004645/1.078, allocations: 0.5585 MB / 0.9533 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006121/1.079, allocations: 407.7 kB / 0.9536 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/1.079, allocations: 305.1 kB / 0.9539 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/1.081, allocations: 1.062 MB / 0.955 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/1.083, allocations: 1.76 MB / 0.9567 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/1.087, allocations: 3.045 MB / 0.9597 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/1.087, allocations: 8 kB / 0.9597 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006978/1.094, allocations: 3.921 MB / 0.9635 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/1.094, allocations: 16 kB / 0.9635 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/1.094, allocations: 20 kB / 0.9635 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/1.096, allocations: 0.9276 MB / 0.9644 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.098, allocations: 431.3 kB / 0.9649 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02236/1.12, allocations: 22.76 MB / 0.9871 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/1.123, allocations: 123.9 kB / 0.9872 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004363/1.123, allocations: 99.98 kB / 0.9873 GB, free: 4.555 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.003505/1.127, allocations: 1.648 MB / 0.9889 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007058/1.128, allocations: 253.6 kB / 0.9891 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006083/1.134, allocations: 3.26 MB / 0.9923 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/1.134, allocations: 7.969 kB / 0.9923 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.134, allocations: 0 / 0.9923 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.135, allocations: 0.5214 MB / 0.9928 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007077/1.136, allocations: 28 kB / 0.9929 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.137, allocations: 100.4 kB / 0.993 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/1.138, allocations: 141.1 kB / 0.9931 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007369/1.145, allocations: 3.391 MB / 0.9964 GB, free: 11.07 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005319/1.15, allocations: 3.67 MB / 1 GB, free: 7.391 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001468/1.152, allocations: 1.088 MB / 1.001 GB, free: 6.305 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00243/1.154, allocations: 1.217 MB / 1.002 GB, free: 5.074 MB / 0.795 GB Notification: Performance of Backend: time 8.32e-07/1.154, allocations: 0.6562 kB / 1.002 GB, free: 5.074 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01106/1.165, allocations: 4 MB / 1.006 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of SimCode: time 0.02098/1.186, allocations: 8.514 MB / 1.014 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of Templates: time 0.09757/1.284, allocations: 48.33 MB / 1.062 GB, free: 8.672 MB / 0.8575 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)