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.001417/0.001417, allocations: 117.6 kB / 16.38 MB, free: 6.012 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.001158/0.001158, allocations: 189.8 kB / 17.31 MB, free: 5.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.346/1.346, 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.756/1.756, allocations: 292.3 MB / 0.5496 GB, free: 17.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.002393/0.002393, allocations: 75.03 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2276, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.426/0.6537, allocations: 35.01 MB / 0.819 GB, free: 28.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01733/0.6711, allocations: 9.999 MB / 0.8288 GB, free: 21.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004539/0.6757, allocations: 143.8 kB / 0.8289 GB, free: 21.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009888/0.6857, allocations: 3.789 MB / 0.8326 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007119/0.6928, allocations: 2.041 MB / 0.8346 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006182/0.699, allocations: 1.955 MB / 0.8365 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01225/0.7113, allocations: 7.977 MB / 0.8443 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01568/0.727, allocations: 9.593 MB / 0.8537 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008254/0.7353, allocations: 3.375 MB / 0.857 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008811/0.7442, allocations: 3.733 MB / 0.8606 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003619/0.7479, allocations: 0.6792 MB / 0.8613 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006934/0.7548, allocations: 1.446 MB / 0.8627 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005657/0.7605, allocations: 2.623 MB / 0.8652 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.009577/0.7701, allocations: 3.095 MB / 0.8683 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01824/0.7884, allocations: 10.39 MB / 0.8784 GB, free: 10.61 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.7884, allocations: 0 / 0.8784 GB, free: 10.61 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.275e-06/0.7885, allocations: 4 kB / 0.8784 GB, free: 10.61 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000385/0.7888, 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.01818/0.807, allocations: 5.404 MB / 0.8837 GB, free: 5.129 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.8071, allocations: 8.031 kB / 0.8837 GB, free: 5.121 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006825/0.8139, allocations: 0.9587 MB / 0.8846 GB, free: 4.156 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008003/0.822, allocations: 3.182 MB / 0.8877 GB, free: 0.918 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004188/0.8224, allocations: 361.9 kB / 0.8881 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00206/0.8245, allocations: 464.3 kB / 0.8885 GB, free: 112 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/0.8465, allocations: 7.914 MB / 0.8962 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002909/0.8468, allocations: 23.72 kB / 0.8963 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002127/0.849, allocations: 212 kB / 0.8965 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006804/0.8497, allocations: 369.1 kB / 0.8968 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.8642, allocations: 5.937 MB / 0.9026 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05089/0.9151, allocations: 35.94 MB / 0.9377 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004225/0.9194, allocations: 2.15 MB / 0.9398 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/0.9217, allocations: 1.477 MB / 0.9413 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.9219, allocations: 25.23 kB / 0.9413 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.241e-05/0.9219, allocations: 59.81 kB / 0.9413 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 4.488e-06/0.922, allocations: 0 / 0.9413 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01585/0.9378, allocations: 7.536 MB / 0.9487 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.9379, allocations: 68.72 kB / 0.9488 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003744/0.9417, allocations: 1.856 MB / 0.9506 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002723/0.942, allocations: 57.7 kB / 0.9506 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.9437, allocations: 2.119 MB / 0.9527 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007963/0.9445, allocations: 0.5623 MB / 0.9533 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009229/0.9455, allocations: 403.7 kB / 0.9536 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.9456, allocations: 305.1 kB / 0.9539 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.9474, allocations: 1.062 MB / 0.955 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.9498, allocations: 1.76 MB / 0.9567 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004207/0.954, allocations: 3.052 MB / 0.9597 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/0.954, allocations: 4 kB / 0.9597 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00706/0.9611, allocations: 3.925 MB / 0.9635 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.9612, allocations: 12 kB / 0.9635 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.646e-05/0.9612, allocations: 24 kB / 0.9635 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002773/0.964, allocations: 0.9294 MB / 0.9645 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.9658, allocations: 427.3 kB / 0.9649 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02267/0.9884, allocations: 22.77 MB / 0.9871 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.9908, allocations: 115.9 kB / 0.9872 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004234/0.9913, allocations: 100.1 kB / 0.9873 GB, free: 4.559 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.003612/0.9949, allocations: 1.648 MB / 0.9889 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008278/0.9957, allocations: 257 kB / 0.9892 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006153/1.002, allocations: 3.264 MB / 0.9923 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/1.002, allocations: 16 kB / 0.9924 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.043e-05/1.002, allocations: 8 kB / 0.9924 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/1.002, allocations: 11.8 kB / 0.9924 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/1.019, allocations: 7.549 MB / 0.9997 GB, free: 7.586 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/1.019, allocations: 4 kB / 0.9998 GB, free: 7.582 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.02, allocations: 212.3 kB / 1 GB, free: 7.375 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002502/1.023, allocations: 0.8963 MB / 1.001 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/1.023, allocations: 36 kB / 1.001 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02352/1.047, allocations: 22.72 MB / 1.023 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.047, allocations: 4.562 kB / 1.023 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006299/1.053, allocations: 3.379 MB / 1.026 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.055, allocations: 0.5331 MB / 1.027 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/1.055, allocations: 32 kB / 1.027 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.056, allocations: 95.83 kB / 1.027 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004289/1.057, allocations: 144.9 kB / 1.027 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.057, allocations: 50.16 kB / 1.027 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00183/1.059, allocations: 1.225 MB / 1.028 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/1.059, allocations: 0 / 1.028 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003279/1.062, allocations: 0.9023 MB / 1.029 GB, free: 7.496 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.0003301/1.062, allocations: 157 kB / 1.029 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007056/1.069, allocations: 4.436 MB / 1.034 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.069, allocations: 4 kB / 1.034 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004678/1.074, allocations: 2.989 MB / 1.037 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004225/1.078, allocations: 0.817 MB / 1.037 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1.094, allocations: 8.221 MB / 1.045 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00512/1.1, allocations: 3.279 MB / 1.049 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008452/1.1, allocations: 155.4 kB / 1.049 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of SimCode: time 1.783e-06/1.1, allocations: 0 / 1.049 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of Templates: time 0.6748/1.775, allocations: 339.6 MB / 1.381 GB, free: 75.09 MB / 0.92 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)