Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01058/0.01058, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001773/0.001774, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.792/1.792, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.668/1.668, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.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.00143/0.001431, allocations: 72.22 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2673, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01662/0.2839, allocations: 14.66 MB / 0.8424 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.3005, allocations: 10.45 MB / 0.8526 GB, free: 6.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.3025, allocations: 51.69 kB / 0.8526 GB, free: 6.93 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004798/0.3074, allocations: 1.684 MB / 0.8543 GB, free: 5.242 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006551/0.3139, allocations: 1.844 MB / 0.8561 GB, free: 3.395 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.3164, allocations: 0.7591 MB / 0.8568 GB, free: 2.637 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005272/0.3217, allocations: 2.75 MB / 0.8595 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002882/0.3246, allocations: 1.423 MB / 0.8609 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.3277, allocations: 1.527 MB / 0.8624 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002622/0.3303, allocations: 1.167 MB / 0.8635 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006296/0.3309, allocations: 160 kB / 0.8637 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.3332, allocations: 0.7877 MB / 0.8644 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.3342, allocations: 0.6037 MB / 0.865 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002254/0.3365, allocations: 0.9561 MB / 0.8659 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005111/0.3416, allocations: 2.761 MB / 0.8686 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.3417, allocations: 4 kB / 0.8686 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3417, allocations: 0 / 0.8686 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001534/0.3418, allocations: 0 / 0.8686 GB, free: 6.434 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006177/0.348, allocations: 2.17 MB / 0.8708 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3481, allocations: 11.97 kB / 0.8708 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/0.3597, allocations: 2.112 MB / 0.8728 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004389/0.3642, allocations: 1.307 MB / 0.8741 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.3643, allocations: 86.69 kB / 0.8742 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006915/0.365, allocations: 124 kB / 0.8743 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007531/0.3726, allocations: 2.67 MB / 0.8769 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.708e-05/0.3727, allocations: 4 kB / 0.8769 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003419/0.373, allocations: 47.98 kB / 0.877 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000706/0.3737, allocations: 194.1 kB / 0.8772 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008349/0.3821, allocations: 2.799 MB / 0.8799 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01899/0.4011, allocations: 10.47 MB / 0.8901 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006404/0.4076, allocations: 2.34 MB / 0.8924 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003067/0.4107, allocations: 1.284 MB / 0.8937 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.4108, allocations: 9 kB / 0.8937 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.922e-05/0.4109, allocations: 43.56 kB / 0.8937 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=89): time 2.936e-06/0.4109, allocations: 0 / 0.8937 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=153): time 0.05921/0.4701, allocations: 16.49 MB / 0.9098 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.4702, allocations: 64.72 kB / 0.9099 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.4724, allocations: 1.176 MB / 0.911 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002797/0.4727, allocations: 53.7 kB / 0.9111 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006085/0.4733, allocations: 0.7435 MB / 0.9118 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006934/0.474, allocations: 0.5121 MB / 0.9123 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006925/0.4747, allocations: 287.4 kB / 0.9126 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4748, allocations: 305.1 kB / 0.9129 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003468/0.4783, allocations: 1.518 MB / 0.9144 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003661/0.482, allocations: 1.776 MB / 0.9161 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006989/0.489, allocations: 3.369 MB / 0.9194 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.489, allocations: 4 kB / 0.9194 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.781/1.27, allocations: 5.267 MB / 0.9245 GB, free: 86.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/1.27, allocations: 12.83 kB / 0.9245 GB, free: 86.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/1.27, allocations: 6.656 kB / 0.9245 GB, free: 86.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008083/1.278, allocations: 1.877 MB / 0.9264 GB, free: 86.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/1.28, allocations: 418.2 kB / 0.9268 GB, free: 86.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03663/1.317, allocations: 24.14 MB / 0.9503 GB, free: 69.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/1.321, allocations: 304.2 kB / 0.9506 GB, free: 69.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/1.321, allocations: 66.78 kB / 0.9507 GB, free: 69.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001308/1.323, allocations: 466 kB / 0.9511 GB, free: 69.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005502/1.323, allocations: 179.9 kB / 0.9513 GB, free: 69.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/1.339, allocations: 5.328 MB / 0.9565 GB, free: 67.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.764e-05/1.339, allocations: 15.59 kB / 0.9565 GB, free: 67.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001071/1.339, allocations: 17.88 kB / 0.9565 GB, free: 67.35 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.842e-05/1.339, allocations: 7.875 kB / 0.9566 GB, free: 67.35 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/1.358, allocations: 7.414 MB / 0.9638 GB, free: 64.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/1.358, allocations: 3.219 kB / 0.9638 GB, free: 64.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/1.359, allocations: 355.6 kB / 0.9641 GB, free: 63.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006435/1.366, allocations: 1.707 MB / 0.9658 GB, free: 63.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003605/1.366, allocations: 42.41 kB / 0.9658 GB, free: 63.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02584/1.392, allocations: 23.31 MB / 0.9886 GB, free: 44.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.392, allocations: 4 kB / 0.9886 GB, free: 44.15 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/1.403, allocations: 4.895 MB / 0.9934 GB, free: 39.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.405, allocations: 498.7 kB / 0.9939 GB, free: 38.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/1.405, allocations: 28 kB / 0.9939 GB, free: 38.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/1.407, allocations: 319.5 kB / 0.9942 GB, free: 38.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007939/1.408, allocations: 145 kB / 0.9943 GB, free: 38.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.408, allocations: 63.89 kB / 0.9944 GB, free: 38.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001134/1.409, allocations: 0.7872 MB / 0.9952 GB, free: 37.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.409, allocations: 0 / 0.9952 GB, free: 37.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00277/1.412, allocations: 0.6528 MB / 0.9958 GB, free: 36.68 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003275/1.412, allocations: 144.8 kB / 0.9959 GB, free: 36.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.422, allocations: 5.151 MB / 1.001 GB, free: 31.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.423, allocations: 0 / 1.001 GB, free: 31.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006273/1.429, allocations: 3.356 MB / 1.004 GB, free: 27.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/1.431, allocations: 0.5593 MB / 1.005 GB, free: 27.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009096/1.441, allocations: 4.284 MB / 1.009 GB, free: 23.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/1.442, allocations: 1.564 MB / 1.011 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00158/1.443, allocations: 388.6 kB / 1.011 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/1.444, allocations: 99.38 kB / 1.011 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of SimCode: time 1.392e-06/1.444, allocations: 4 kB / 1.011 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of Templates: time 0.07927/1.523, allocations: 45.38 MB / 1.055 GB, free: 8.082 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)