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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.551/1.551, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009953/0.0009951, allocations: 178.2 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009113/0.0009115, allocations: 88.62 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 8.281 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2271, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01219/0.2393, allocations: 13.51 MB / 0.9099 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.2513, allocations: 9.491 MB / 0.9192 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.2527, allocations: 51.62 kB / 0.9193 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.2562, allocations: 1.558 MB / 0.9208 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004325/0.2605, allocations: 1.41 MB / 0.9222 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.2622, allocations: 0.6852 MB / 0.9228 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002992/0.2652, allocations: 3.171 MB / 0.9259 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.2668, allocations: 1.34 MB / 0.9272 GB, free: 36.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.268, allocations: 0.8752 MB / 0.9281 GB, free: 35.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.269, allocations: 1.07 MB / 0.9291 GB, free: 34.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.2692, allocations: 72 kB / 0.9292 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.2706, allocations: 0.8616 MB / 0.93 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000382/0.271, allocations: 0.5061 MB / 0.9305 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006294/0.2716, allocations: 0.8235 MB / 0.9313 GB, free: 32.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.2733, allocations: 2.135 MB / 0.9334 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2733, allocations: 0 / 0.9334 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2733, allocations: 4 kB / 0.9334 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.669e-05/0.2733, allocations: 0 / 0.9334 GB, free: 30.48 MB / 0.6042 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.002998/0.2763, allocations: 1.812 MB / 0.9352 GB, free: 28.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.2764, allocations: 12.03 kB / 0.9352 GB, free: 28.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.2866, allocations: 2.148 MB / 0.9373 GB, free: 26.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.2889, allocations: 1.201 MB / 0.9385 GB, free: 25.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.289, allocations: 94.67 kB / 0.9386 GB, free: 25.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.2892, allocations: 128 kB / 0.9387 GB, free: 24.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004883/0.2941, allocations: 2.702 MB / 0.9413 GB, free: 22.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.2941, allocations: 11.94 kB / 0.9413 GB, free: 22.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.2943, allocations: 51.98 kB / 0.9414 GB, free: 22.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005168/0.2948, allocations: 186.1 kB / 0.9416 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006553/0.3014, allocations: 2.842 MB / 0.9443 GB, free: 19.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.314, allocations: 10.56 MB / 0.9547 GB, free: 7.875 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005876/0.3199, allocations: 2.581 MB / 0.9572 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.3226, allocations: 1.305 MB / 0.9585 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.532e-05/0.3227, allocations: 9 kB / 0.9585 GB, free: 3.906 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3228, allocations: 43.56 kB / 0.9585 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=89): time 4.709e-06/0.3228, allocations: 0 / 0.9585 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of matching and sorting (n=131): time 0.04332/0.3661, allocations: 13.45 MB / 0.9716 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.3662, allocations: 68.7 kB / 0.9717 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.3679, allocations: 1.117 MB / 0.9728 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002228/0.3681, allocations: 49.7 kB / 0.9728 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005353/0.3686, allocations: 0.7195 MB / 0.9735 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004739/0.3691, allocations: 449.4 kB / 0.974 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.3693, allocations: 109.7 kB / 0.9741 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3695, allocations: 357.9 kB / 0.9744 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003295/0.3728, allocations: 1.362 MB / 0.9757 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003439/0.3762, allocations: 1.628 MB / 0.9773 GB, free: 200 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006962/0.3832, allocations: 3.037 MB / 0.9803 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.3833, allocations: 4 kB / 0.9803 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01208/0.3953, allocations: 4.481 MB / 0.9847 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.3954, allocations: 8 kB / 0.9847 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.3955, allocations: 4 kB / 0.9847 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005292/0.4008, allocations: 1.436 MB / 0.9861 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/0.4029, allocations: 455.2 kB / 0.9865 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02575/0.4286, allocations: 24.57 MB / 1.011 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.4314, allocations: 311.5 kB / 1.011 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.4316, allocations: 59.97 kB / 1.011 GB, free: 11.89 MB / 0.6667 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.0009459/0.4325, allocations: 441.5 kB / 1.011 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.4329, allocations: 166.3 kB / 1.011 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.4443, allocations: 4.496 MB / 1.016 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.4444, allocations: 12 kB / 1.016 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.107e-05/0.4444, allocations: 15.98 kB / 1.016 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.4445, allocations: 3.984 kB / 1.016 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.4597, allocations: 6.821 MB / 1.023 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.4598, allocations: 0 / 1.023 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/0.4616, allocations: 395.6 kB / 1.023 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0049/0.4665, allocations: 1.306 MB / 1.024 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/0.4667, allocations: 39.97 kB / 1.024 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02459/0.4913, allocations: 23.51 MB / 1.047 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.4914, allocations: 8.016 kB / 1.047 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/0.5024, allocations: 4.255 MB / 1.051 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.382/0.8844, allocations: 451.8 kB / 1.052 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005221/0.885, allocations: 25.36 kB / 1.052 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00225/0.8872, allocations: 320.2 kB / 1.052 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004748/0.8877, allocations: 129.7 kB / 1.052 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.8879, allocations: 47.36 kB / 1.052 GB, free: 141.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000938/0.8888, allocations: 0.7559 MB / 1.053 GB, free: 141 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8888, allocations: 0 / 1.053 GB, free: 141 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002163/0.891, allocations: 0.5674 MB / 1.054 GB, free: 141 MB / 0.698 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.000278/0.8913, allocations: 147.2 kB / 1.054 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01063/0.9019, allocations: 5.149 MB / 1.059 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.902, allocations: 0.7188 kB / 1.059 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007116/0.9091, allocations: 3.497 MB / 1.062 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/0.9121, allocations: 0.5153 MB / 1.063 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009735/0.9219, allocations: 4.782 MB / 1.067 GB, free: 136.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.9234, allocations: 1.481 MB / 1.069 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006817/0.9241, allocations: 128.5 kB / 1.069 GB, free: 135.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/0.9241, allocations: 1.219 kB / 1.069 GB, free: 135.5 MB / 0.698 GB Notification: Performance of Templates: time 0.08919/1.013, allocations: 112.3 MB / 1.179 GB, free: 37.4 MB / 0.698 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)