Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, 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.00116/0.00116, allocations: 176.7 kB / 326.5 MB, free: 2.68 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.567/1.567, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007493/0.0007493, allocations: 95.97 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004159, allocations: 8.594 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2265, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01095/0.2375, allocations: 9.74 MB / 0.9063 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005648/0.2432, allocations: 3.21 MB / 0.9094 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.2444, allocations: 31.81 kB / 0.9094 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.2462, allocations: 0.5359 MB / 0.91 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.2483, allocations: 0.7003 MB / 0.9106 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.2501, allocations: 0.6864 MB / 0.9113 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004081/0.2542, allocations: 4.466 MB / 0.9157 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004391/0.2586, allocations: 2.824 MB / 0.9184 GB, free: 45.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.2604, allocations: 0.9574 MB / 0.9194 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.2628, allocations: 1.457 MB / 0.9208 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006409/0.2635, allocations: 116 kB / 0.9209 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.265, allocations: 459.2 kB / 0.9213 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.2664, allocations: 0.9198 MB / 0.9222 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.2683, allocations: 0.9367 MB / 0.9231 GB, free: 41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003159/0.2714, allocations: 3.012 MB / 0.9261 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2714, allocations: 0 / 0.9261 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2715, allocations: 0 / 0.9261 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001037/0.2716, allocations: 0 / 0.9261 GB, free: 37.98 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004335/0.2759, allocations: 1.772 MB / 0.9278 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.276, allocations: 12.03 kB / 0.9278 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.287, allocations: 1.309 MB / 0.9291 GB, free: 34.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/0.2901, allocations: 1.247 MB / 0.9303 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.2903, allocations: 111.4 kB / 0.9304 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007486/0.291, allocations: 156.2 kB / 0.9306 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007218/0.2983, allocations: 3.437 MB / 0.9339 GB, free: 29.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.746e-05/0.2983, allocations: 11.94 kB / 0.9339 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00036/0.2987, allocations: 63.97 kB / 0.934 GB, free: 29.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002805/0.299, allocations: 203.1 kB / 0.9342 GB, free: 29.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006109/0.3051, allocations: 3.124 MB / 0.9373 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02005/0.3252, allocations: 13.59 MB / 0.9505 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.3282, allocations: 1.729 MB / 0.9522 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/0.3305, allocations: 1.425 MB / 0.9536 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.3306, allocations: 20.92 kB / 0.9536 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3307, allocations: 47.56 kB / 0.9537 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=104): time 4.469e-06/0.3307, allocations: 0 / 0.9537 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of matching and sorting (n=183): time 0.1698/0.5005, allocations: 35.96 MB / 0.9888 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.5006, allocations: 81.34 kB / 0.9889 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.5028, allocations: 1.046 MB / 0.9899 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004205/0.5033, allocations: 53.7 kB / 0.9899 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007127/0.504, allocations: 0.7912 MB / 0.9907 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009173/0.5049, allocations: 0.6122 MB / 0.9913 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.5055, allocations: 161.6 kB / 0.9915 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5056, allocations: 301.1 kB / 0.9917 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00389/0.5095, allocations: 1.932 MB / 0.9936 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004224/0.5137, allocations: 2.281 MB / 0.9959 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008207/0.522, allocations: 4.388 MB / 1 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/0.522, allocations: 8 kB / 1 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02732/0.5494, allocations: 9.028 MB / 1.009 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.5495, allocations: 11.94 kB / 1.009 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.5495, allocations: 12 kB / 1.009 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02223/0.5717, allocations: 4.964 MB / 1.014 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.5731, allocations: 199.6 kB / 1.014 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06428/0.6374, allocations: 35.15 MB / 1.048 GB, free: 6.605 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.6395, allocations: 103.9 kB / 1.048 GB, free: 6.504 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004707/0.64, allocations: 64 kB / 1.049 GB, free: 6.441 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001853/0.6419, allocations: 0.8095 MB / 1.049 GB, free: 5.621 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004786/0.6424, allocations: 146.3 kB / 1.049 GB, free: 5.477 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3998/1.042, allocations: 8.883 MB / 1.058 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/1.042, allocations: 18.34 kB / 1.058 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.312e-05/1.042, allocations: 29.16 kB / 1.058 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.943e-05/1.042, allocations: 11.59 kB / 1.058 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02776/1.07, allocations: 13.27 MB / 1.071 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/1.07, allocations: 6.5 kB / 1.071 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/1.071, allocations: 119.4 kB / 1.071 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01562/1.086, allocations: 4.757 MB / 1.076 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003485/1.087, allocations: 34.06 kB / 1.076 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04132/1.128, allocations: 31.44 MB / 1.107 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.128, allocations: 7.938 kB / 1.107 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/1.145, allocations: 8.396 MB / 1.115 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/1.146, allocations: 0.6124 MB / 1.115 GB, free: 110.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/1.146, allocations: 39.92 kB / 1.115 GB, free: 110.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.147, allocations: 92.77 kB / 1.116 GB, free: 110.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007258/1.148, allocations: 166.5 kB / 1.116 GB, free: 110.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.148, allocations: 47.94 kB / 1.116 GB, free: 110.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007545/1.149, allocations: 0.7343 MB / 1.116 GB, free: 109.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.422e-06/1.149, allocations: 0 / 1.116 GB, free: 109.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002533/1.152, allocations: 1.004 MB / 1.117 GB, free: 108.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002639/1.152, allocations: 147.7 kB / 1.118 GB, free: 108.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007858/1.16, allocations: 5.84 MB / 1.123 GB, free: 102.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.16, allocations: 0 / 1.123 GB, free: 102.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006525/1.166, allocations: 3.816 MB / 1.127 GB, free: 98.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/1.168, allocations: 223 kB / 1.127 GB, free: 98.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006495/1.175, allocations: 6.063 MB / 1.133 GB, free: 92.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/1.176, allocations: 1.89 MB / 1.135 GB, free: 90.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/1.176, allocations: 67.44 kB / 1.135 GB, free: 90.64 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/1.176, allocations: 0 / 1.135 GB, free: 90.64 MB / 0.698 GB Notification: Performance of Templates: time 0.05717/1.233, allocations: 68.76 MB / 1.202 GB, free: 21.88 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)