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.008879/0.008879, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001301/0.001301, allocations: 190.4 kB / 16.67 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.744/1.744, allocations: 205.1 MB / 222.5 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.664/1.664, 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.001509/0.001509, allocations: 71.89 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3012, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01826/0.3195, allocations: 13.93 MB / 0.8416 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.3363, allocations: 9.486 MB / 0.8509 GB, free: 8.703 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.3386, allocations: 59.62 kB / 0.851 GB, free: 8.645 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005502/0.3442, allocations: 1.663 MB / 0.8526 GB, free: 6.977 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006939/0.3512, allocations: 1.541 MB / 0.8541 GB, free: 5.434 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.3543, allocations: 0.7513 MB / 0.8548 GB, free: 4.684 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005871/0.3602, allocations: 2.52 MB / 0.8573 GB, free: 2.156 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003525/0.3638, allocations: 1.407 MB / 0.8587 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.3667, allocations: 1.047 MB / 0.8597 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/0.3697, allocations: 1.136 MB / 0.8608 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008173/0.3706, allocations: 164 kB / 0.861 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.3736, allocations: 0.7916 MB / 0.8617 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.375, allocations: 0.6193 MB / 0.8623 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002385/0.3774, allocations: 0.9446 MB / 0.8633 GB, free: 12 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005491/0.3829, allocations: 2.757 MB / 0.8659 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3829, allocations: 0 / 0.8659 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.554e-06/0.3829, allocations: 0 / 0.8659 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001259/0.3831, allocations: 0 / 0.8659 GB, free: 9.234 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.006911/0.39, allocations: 2.141 MB / 0.868 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.39, allocations: 12.02 kB / 0.868 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.4023, allocations: 2.089 MB / 0.8701 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004411/0.4068, allocations: 1.294 MB / 0.8713 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.407, allocations: 86.73 kB / 0.8714 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007773/0.4078, allocations: 120.1 kB / 0.8715 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008288/0.4161, allocations: 2.679 MB / 0.8742 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.4163, allocations: 7.844 kB / 0.8742 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004549/0.4167, allocations: 59.98 kB / 0.8742 GB, free: 496 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007713/0.4175, allocations: 182.1 kB / 0.8744 GB, free: 312 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008717/0.4262, allocations: 2.795 MB / 0.8771 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02096/0.4473, allocations: 10.48 MB / 0.8874 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007612/0.455, allocations: 2.53 MB / 0.8898 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/0.4586, allocations: 1.28 MB / 0.8911 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.4587, allocations: 16.94 kB / 0.8911 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.578e-05/0.4588, allocations: 39.56 kB / 0.8911 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=89): time 4.869e-06/0.4588, allocations: 0 / 0.8911 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=131): time 0.04861/0.5075, allocations: 13.36 MB / 0.9042 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.5076, allocations: 64.72 kB / 0.9042 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.5094, allocations: 1.113 MB / 0.9053 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003122/0.5098, allocations: 53.7 kB / 0.9054 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005674/0.5103, allocations: 0.7194 MB / 0.9061 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005138/0.5108, allocations: 449.5 kB / 0.9065 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005156/0.5114, allocations: 259.4 kB / 0.9068 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5115, allocations: 357.9 kB / 0.9071 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/0.515, allocations: 1.343 MB / 0.9084 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003528/0.5185, allocations: 1.608 MB / 0.91 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007246/0.5258, allocations: 2.994 MB / 0.9129 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.5259, allocations: 4 kB / 0.9129 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01258/0.5385, allocations: 4.435 MB / 0.9172 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/0.5386, allocations: 10.97 kB / 0.9173 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/0.5386, allocations: 12.03 kB / 0.9173 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005403/0.544, allocations: 1.431 MB / 0.9187 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.5464, allocations: 439.2 kB / 0.9191 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6027/1.149, allocations: 26.68 MB / 0.9451 GB, free: 66.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003609/1.153, allocations: 299.4 kB / 0.9454 GB, free: 66.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/1.153, allocations: 63.62 kB / 0.9455 GB, free: 66.19 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.001197/1.154, allocations: 443.6 kB / 0.9459 GB, free: 65.92 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/1.155, allocations: 165.8 kB / 0.9461 GB, free: 65.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/1.169, allocations: 4.45 MB / 0.9504 GB, free: 64.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/1.169, allocations: 17.53 kB / 0.9504 GB, free: 64.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.276e-05/1.169, allocations: 13.47 kB / 0.9504 GB, free: 64.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/1.169, allocations: 9.938 kB / 0.9505 GB, free: 64.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/1.188, allocations: 6.75 MB / 0.957 GB, free: 61.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/1.188, allocations: 3.094 kB / 0.957 GB, free: 61.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002057/1.19, allocations: 377.8 kB / 0.9574 GB, free: 61.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004923/1.195, allocations: 1.308 MB / 0.9587 GB, free: 61.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002903/1.195, allocations: 52.39 kB / 0.9587 GB, free: 61.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0251/1.22, allocations: 25.48 MB / 0.9836 GB, free: 40.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/1.22, allocations: 6.188 kB / 0.9836 GB, free: 40.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/1.232, allocations: 4.213 MB / 0.9877 GB, free: 37.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.234, allocations: 453.4 kB / 0.9882 GB, free: 37.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/1.234, allocations: 28.78 kB / 0.9882 GB, free: 37.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002206/1.236, allocations: 308.8 kB / 0.9885 GB, free: 37.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008316/1.237, allocations: 128.8 kB / 0.9886 GB, free: 37.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/1.237, allocations: 47.47 kB / 0.9887 GB, free: 37.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001253/1.239, allocations: 0.7573 MB / 0.9894 GB, free: 36.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.41e-07/1.239, allocations: 0 / 0.9894 GB, free: 36.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002817/1.241, allocations: 0.5668 MB / 0.99 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 (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.0003393/1.242, allocations: 150.5 kB / 0.9901 GB, free: 36.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.253, allocations: 5.133 MB / 0.9951 GB, free: 33.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.961e-05/1.254, allocations: 0 / 0.9951 GB, free: 33.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00761/1.261, allocations: 3.489 MB / 0.9985 GB, free: 30.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/1.264, allocations: 0.5566 MB / 0.9991 GB, free: 30.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008935/1.273, allocations: 3.984 MB / 1.003 GB, free: 26.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/1.275, allocations: 1.48 MB / 1.004 GB, free: 25.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00177/1.276, allocations: 425.6 kB / 1.005 GB, free: 24.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/1.277, allocations: 111.4 kB / 1.005 GB, free: 24.85 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/1.277, allocations: 0 / 1.005 GB, free: 24.85 MB / 0.7325 GB Notification: Performance of Templates: time 0.06943/1.346, allocations: 39.37 MB / 1.043 GB, free: 1.957 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)