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.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01082/0.01082, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.002251/0.002251, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.796/1.796, allocations: 205.1 MB / 222.6 MB, free: 4.383 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.779/1.779, allocations: 251.7 MB / 0.5094 GB, free: 3.062 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.001526/0.001526, allocations: 71.91 kB / 0.7258 GB, free: 9.055 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2857, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0176/0.3033, allocations: 13.93 MB / 0.8417 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.3191, allocations: 9.478 MB / 0.8509 GB, free: 8.742 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.3217, allocations: 59.62 kB / 0.851 GB, free: 8.684 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00487/0.3266, allocations: 1.66 MB / 0.8526 GB, free: 7.02 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005707/0.3323, allocations: 1.578 MB / 0.8541 GB, free: 5.438 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.3353, allocations: 0.7586 MB / 0.8549 GB, free: 4.68 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004521/0.3398, allocations: 2.52 MB / 0.8573 GB, free: 2.152 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.342, allocations: 1.415 MB / 0.8587 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.344, allocations: 1.067 MB / 0.8598 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.3458, allocations: 1.144 MB / 0.8609 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.3461, allocations: 164 kB / 0.861 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.3479, allocations: 0.7838 MB / 0.8618 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006621/0.3486, allocations: 0.6193 MB / 0.8624 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.3498, allocations: 0.9406 MB / 0.8633 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003481/0.3533, allocations: 2.757 MB / 0.866 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3533, allocations: 4 kB / 0.866 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3534, allocations: 0 / 0.866 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.442e-05/0.3534, allocations: 0 / 0.866 GB, free: 9.203 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.003891/0.3573, allocations: 2.143 MB / 0.8681 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.3574, allocations: 12.03 kB / 0.8681 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.3677, allocations: 2.085 MB / 0.8702 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/0.3707, allocations: 1.287 MB / 0.8714 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.3708, allocations: 90.73 kB / 0.8715 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/0.371, allocations: 124.1 kB / 0.8716 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005382/0.3764, allocations: 2.679 MB / 0.8742 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.444e-05/0.3765, allocations: 15.83 kB / 0.8742 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.3766, allocations: 55.98 kB / 0.8743 GB, free: 460 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000597/0.3773, allocations: 174.1 kB / 0.8745 GB, free: 284 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007888/0.3852, allocations: 2.803 MB / 0.8772 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0186/0.4038, allocations: 10.47 MB / 0.8874 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006174/0.41, allocations: 2.528 MB / 0.8899 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002963/0.413, allocations: 1.28 MB / 0.8911 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-05/0.4131, allocations: 12.98 kB / 0.8912 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.4132, allocations: 47.56 kB / 0.8912 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=89): time 5.64e-06/0.4132, allocations: 3.938 kB / 0.8912 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=131): time 0.0434/0.4566, allocations: 13.36 MB / 0.9043 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.4567, allocations: 64.72 kB / 0.9043 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.4583, allocations: 1.117 MB / 0.9054 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.4585, allocations: 45.7 kB / 0.9054 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007096/0.4592, allocations: 0.7154 MB / 0.9061 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006297/0.4599, allocations: 449.5 kB / 0.9066 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005504/0.4604, allocations: 263.4 kB / 0.9068 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.4606, allocations: 365.9 kB / 0.9072 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003205/0.4638, allocations: 1.335 MB / 0.9085 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003387/0.4672, allocations: 1.604 MB / 0.91 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006739/0.474, allocations: 2.994 MB / 0.913 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.4741, allocations: 0 / 0.913 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01143/0.4855, allocations: 4.446 MB / 0.9173 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.4856, allocations: 8 kB / 0.9173 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.4856, allocations: 11.98 kB / 0.9173 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00548/0.4911, allocations: 1.432 MB / 0.9187 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/0.4933, allocations: 439.2 kB / 0.9191 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7997/1.293, allocations: 26.68 MB / 0.9452 GB, free: 66.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003175/1.296, allocations: 303.4 kB / 0.9455 GB, free: 66.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003013/1.297, allocations: 63.69 kB / 0.9455 GB, free: 66.56 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001072/1.298, allocations: 436.5 kB / 0.946 GB, free: 66.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003951/1.298, allocations: 163.9 kB / 0.9461 GB, free: 66.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/1.311, allocations: 4.456 MB / 0.9505 GB, free: 64.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/1.311, allocations: 13.47 kB / 0.9505 GB, free: 64.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.563e-05/1.311, allocations: 14.19 kB / 0.9505 GB, free: 64.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.45e-05/1.311, allocations: 16.12 kB / 0.9505 GB, free: 64.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/1.329, allocations: 6.746 MB / 0.9571 GB, free: 62.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/1.329, allocations: 3.094 kB / 0.9571 GB, free: 62.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/1.331, allocations: 388.8 kB / 0.9575 GB, free: 62.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004904/1.336, allocations: 1.309 MB / 0.9588 GB, free: 61.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/1.336, allocations: 44.47 kB / 0.9588 GB, free: 61.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02499/1.361, allocations: 25.49 MB / 0.9837 GB, free: 40.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/1.361, allocations: 10.5 kB / 0.9837 GB, free: 40.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/1.372, allocations: 4.199 MB / 0.9878 GB, free: 38.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.374, allocations: 458.5 kB / 0.9882 GB, free: 37.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/1.374, allocations: 32.31 kB / 0.9883 GB, free: 37.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/1.376, allocations: 305.1 kB / 0.9886 GB, free: 37.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005988/1.377, allocations: 126.6 kB / 0.9887 GB, free: 37.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/1.377, allocations: 47.62 kB / 0.9887 GB, free: 37.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001209/1.378, allocations: 0.7579 MB / 0.9895 GB, free: 37.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/1.378, allocations: 0 / 0.9895 GB, free: 37.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002655/1.381, allocations: 0.5666 MB / 0.99 GB, free: 37.05 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003071/1.381, allocations: 154.5 kB / 0.9902 GB, free: 36.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.391, allocations: 5.121 MB / 0.9952 GB, free: 33.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.391, allocations: 2.062 kB / 0.9952 GB, free: 33.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006328/1.398, allocations: 3.488 MB / 0.9986 GB, free: 31 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/1.4, allocations: 0.5532 MB / 0.9991 GB, free: 30.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007627/1.408, allocations: 3.988 MB / 1.003 GB, free: 27.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.409, allocations: 1.48 MB / 1.004 GB, free: 25.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001567/1.411, allocations: 429.6 kB / 1.005 GB, free: 25.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/1.411, allocations: 111.4 kB / 1.005 GB, free: 25.26 MB / 0.7325 GB Notification: Performance of SimCode: time 1.482e-06/1.411, allocations: 0 / 1.005 GB, free: 25.26 MB / 0.7325 GB Notification: Performance of Templates: time 0.08346/1.494, allocations: 39.37 MB / 1.043 GB, free: 2.371 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)