Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.737/1.737, allocations: 287.5 MB / 302.6 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 184.8 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007576/0.0007575, allocations: 98.28 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 19.09 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2067, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01751/0.2243, allocations: 20.49 MB / 0.9987 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008865/0.2332, allocations: 5.979 MB / 1.005 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.2353, allocations: 75.56 kB / 1.005 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.2369, allocations: 432.7 kB / 1.005 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00397/0.2409, allocations: 1.342 MB / 1.006 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.244, allocations: 0.8145 MB / 1.007 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008752/0.2528, allocations: 6.905 MB / 1.014 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01408/0.2669, allocations: 7.094 MB / 1.021 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004429/0.2713, allocations: 1.798 MB / 1.023 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004617/0.276, allocations: 2.551 MB / 1.025 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.2771, allocations: 204 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.2795, allocations: 0.5463 MB / 1.026 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00262/0.2821, allocations: 1.707 MB / 1.027 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001598/0.2837, allocations: 0.7342 MB / 1.028 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006998/0.2907, allocations: 5.992 MB / 1.034 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.2908, allocations: 4 kB / 1.034 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2908, allocations: 0 / 1.034 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002698/0.2911, allocations: 0 / 1.034 GB, free: 3.281 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007762/0.2988, allocations: 3.072 MB / 1.037 GB, free: 152 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.2989, allocations: 8.031 kB / 1.037 GB, free: 144 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006552/0.3055, allocations: 1.202 MB / 1.038 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/0.3107, allocations: 2.227 MB / 1.04 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/0.311, allocations: 246.4 kB / 1.041 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.3121, allocations: 311.9 kB / 1.041 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/0.3267, allocations: 6.181 MB / 1.047 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/0.3268, allocations: 19.86 kB / 1.047 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007094/0.3276, allocations: 136 kB / 1.047 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005214/0.3281, allocations: 406.3 kB / 1.047 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008867/0.337, allocations: 4.639 MB / 1.052 GB, free: 476 kB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4452/0.7822, allocations: 29.05 MB / 1.08 GB, free: 68.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.7846, allocations: 1.411 MB / 1.082 GB, free: 68.38 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/0.7872, allocations: 1.486 MB / 1.083 GB, free: 67.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.7873, allocations: 16.92 kB / 1.083 GB, free: 67.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.7874, allocations: 48.39 kB / 1.083 GB, free: 67.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 3.516e-06/0.7874, allocations: 0 / 1.083 GB, free: 67.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=179): time 0.1354/0.9228, allocations: 36.31 MB / 1.119 GB, free: 57.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.9229, allocations: 69.62 kB / 1.119 GB, free: 57.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.9245, allocations: 1.411 MB / 1.12 GB, free: 56.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002662/0.9248, allocations: 57.42 kB / 1.12 GB, free: 56.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006368/0.9254, allocations: 1.538 MB / 1.122 GB, free: 55.05 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.9259, allocations: 0.6077 MB / 1.122 GB, free: 54.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.926, allocations: 43.91 kB / 1.122 GB, free: 54.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.9261, allocations: 388.9 kB / 1.123 GB, free: 54.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/0.9282, allocations: 1.781 MB / 1.124 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.9304, allocations: 2.342 MB / 1.127 GB, free: 50.06 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004466/0.9349, allocations: 4.379 MB / 1.131 GB, free: 45.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.9349, allocations: 4 kB / 1.131 GB, free: 45.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01521/0.9501, allocations: 8.543 MB / 1.139 GB, free: 36.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.9502, allocations: 15.98 kB / 1.139 GB, free: 36.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.9502, allocations: 20 kB / 1.139 GB, free: 36.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/0.9634, allocations: 4.632 MB / 1.144 GB, free: 32.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.9645, allocations: 299.5 kB / 1.144 GB, free: 31.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03615/1.001, allocations: 29.45 MB / 1.173 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/1.003, allocations: 151.8 kB / 1.173 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/1.003, allocations: 87.94 kB / 1.173 GB, free: 1.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001984/1.005, allocations: 1.328 MB / 1.175 GB, free: 72 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/1.005, allocations: 201.8 kB / 1.175 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01728/1.023, allocations: 8.433 MB / 1.183 GB, free: 7.387 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/1.023, allocations: 16 kB / 1.183 GB, free: 7.371 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.205e-05/1.023, allocations: 24 kB / 1.183 GB, free: 7.348 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.219e-05/1.023, allocations: 8.188 kB / 1.183 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02453/1.048, allocations: 12.82 MB / 1.196 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.048, allocations: 4 kB / 1.196 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007277/1.048, allocations: 167.7 kB / 1.196 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01402/1.062, allocations: 4.492 MB / 1.2 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002974/1.063, allocations: 43.92 kB / 1.2 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04315/1.106, allocations: 29.05 MB / 1.228 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/1.106, allocations: 7.938 kB / 1.228 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/1.123, allocations: 8.229 MB / 1.237 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/1.125, allocations: 0.6272 MB / 1.237 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003476/1.125, allocations: 35.98 kB / 1.237 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/1.127, allocations: 135.8 kB / 1.237 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007385/1.127, allocations: 172.9 kB / 1.237 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.128, allocations: 52 kB / 1.238 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00136/1.129, allocations: 0.9392 MB / 1.238 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.01e-07/1.129, allocations: 0 / 1.238 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003456/1.132, allocations: 1.105 MB / 1.24 GB, free: 12.36 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003108/1.133, allocations: 151 kB / 1.24 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0126/1.145, allocations: 6.416 MB / 1.246 GB, free: 5.727 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.145, allocations: 0 / 1.246 GB, free: 5.727 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.009419/1.155, allocations: 4.286 MB / 1.25 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/1.159, allocations: 498.1 kB / 1.251 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/1.173, allocations: 8.082 MB / 1.258 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0039/1.177, allocations: 2.729 MB / 1.261 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001293/1.178, allocations: 388.6 kB / 1.262 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/1.178, allocations: 95.42 kB / 1.262 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/1.178, allocations: 0 / 1.262 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of Templates: time 0.08964/1.268, allocations: 55.46 MB / 1.316 GB, free: 14.26 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)