Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 103.4 kB / 15.98 MB, free: 5.891 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.001734/0.001734, allocations: 187.4 kB / 16.91 MB, free: 5.746 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.527/1.527, allocations: 205.1 MB / 222.8 MB, free: 4.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.3 MB / 0.5492 GB, free: 13.63 MB / 462.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.001428/0.001428, allocations: 66.34 kB / 0.6717 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2404, allocations: 114.5 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02394/0.2644, allocations: 22.43 MB / 0.8054 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.2755, allocations: 6.222 MB / 0.8115 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.2779, allocations: 79.56 kB / 0.8116 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004342/0.2822, allocations: 1.419 MB / 0.813 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004896/0.2871, allocations: 1.514 MB / 0.8144 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004188/0.2913, allocations: 1.228 MB / 0.8156 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007662/0.299, allocations: 5.955 MB / 0.8215 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/0.3113, allocations: 7.263 MB / 0.8285 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004858/0.3162, allocations: 2.445 MB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006483/0.3227, allocations: 3.042 MB / 0.8339 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00179/0.3245, allocations: 456 kB / 0.8343 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.3279, allocations: 1.092 MB / 0.8354 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003362/0.3313, allocations: 2.035 MB / 0.8374 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00472/0.336, allocations: 2.163 MB / 0.8395 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007823/0.3439, allocations: 6.197 MB / 0.8456 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.574e-05/0.3439, allocations: 4 kB / 0.8456 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3439, allocations: 3.938 kB / 0.8456 GB, free: 14.1 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002691/0.3442, allocations: 0 / 0.8456 GB, free: 14.1 MB / 0.67 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.01164/0.3559, allocations: 3.816 MB / 0.8493 GB, free: 10.22 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3559, allocations: 8.031 kB / 0.8493 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006801/0.3627, allocations: 1.214 MB / 0.8505 GB, free: 8.996 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/0.3674, allocations: 2.211 MB / 0.8526 GB, free: 6.727 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.3676, allocations: 242.4 kB / 0.8529 GB, free: 6.488 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009204/0.3686, allocations: 311.9 kB / 0.8532 GB, free: 6.184 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.3799, allocations: 6.216 MB / 0.8592 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.617e-05/0.38, allocations: 11.88 kB / 0.8593 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004271/0.3805, allocations: 143.9 kB / 0.8594 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004771/0.381, allocations: 406.3 kB / 0.8598 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008556/0.3895, allocations: 4.654 MB / 0.8643 GB, free: 10.5 MB / 0.6856 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.03337/0.4229, allocations: 29.14 MB / 0.8928 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.425, allocations: 1.416 MB / 0.8942 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.427, allocations: 1.483 MB / 0.8956 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.4272, allocations: 13 kB / 0.8956 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.4272, allocations: 47.5 kB / 0.8957 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.055e-06/0.4272, allocations: 3.938 kB / 0.8957 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=179): time 0.5635/0.9907, allocations: 37.23 MB / 0.932 GB, free: 128 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.9908, allocations: 78.72 kB / 0.9321 GB, free: 128 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.9935, allocations: 1.42 MB / 0.9335 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000369/0.9939, allocations: 55.39 kB / 0.9336 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009674/0.9948, allocations: 1.533 MB / 0.9351 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006159/0.9955, allocations: 0.6122 MB / 0.9356 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007517/0.9962, allocations: 385.5 kB / 0.936 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.9963, allocations: 301.1 kB / 0.9363 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002854/0.9991, allocations: 1.785 MB / 0.938 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/1.002, allocations: 2.352 MB / 0.9403 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005306/1.007, allocations: 4.389 MB / 0.9446 GB, free: 121.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/1.008, allocations: 4.344 kB / 0.9446 GB, free: 121.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01641/1.024, allocations: 8.57 MB / 0.953 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/1.024, allocations: 12.09 kB / 0.953 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/1.024, allocations: 22.16 kB / 0.953 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01337/1.037, allocations: 4.662 MB / 0.9576 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/1.039, allocations: 311.8 kB / 0.9579 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03658/1.075, allocations: 32.61 MB / 0.9897 GB, free: 84.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/1.077, allocations: 157.7 kB / 0.9899 GB, free: 84.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/1.078, allocations: 80 kB / 0.99 GB, free: 84.04 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001869/1.079, allocations: 1.333 MB / 0.9913 GB, free: 82.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/1.08, allocations: 197.7 kB / 0.9914 GB, free: 82.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/1.094, allocations: 8.441 MB / 0.9997 GB, free: 74.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/1.094, allocations: 19.94 kB / 0.9997 GB, free: 73.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-05/1.094, allocations: 24 kB / 0.9997 GB, free: 73.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.457e-05/1.094, allocations: 10.22 kB / 0.9997 GB, free: 73.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02072/1.115, allocations: 12.85 MB / 1.012 GB, free: 60.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/1.115, allocations: 11.94 kB / 1.012 GB, free: 60.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/1.116, allocations: 159.8 kB / 1.012 GB, free: 60.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01265/1.129, allocations: 4.52 MB / 1.017 GB, free: 56.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000363/1.129, allocations: 36 kB / 1.017 GB, free: 56.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03598/1.165, allocations: 32.21 MB / 1.048 GB, free: 23.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.165, allocations: 14.94 kB / 1.048 GB, free: 23.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/1.179, allocations: 8.243 MB / 1.056 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.18, allocations: 0.6157 MB / 1.057 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004734/1.181, allocations: 32 kB / 1.057 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/1.182, allocations: 143.8 kB / 1.057 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008789/1.183, allocations: 168.8 kB / 1.057 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/1.183, allocations: 56.94 kB / 1.057 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001141/1.185, allocations: 0.9588 MB / 1.058 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.185, allocations: 0 / 1.058 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003389/1.188, allocations: 1.119 MB / 1.059 GB, free: 11.75 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003339/1.188, allocations: 151 kB / 1.06 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01129/1.2, allocations: 7.066 MB / 1.066 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.2, allocations: 0 / 1.066 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007861/1.208, allocations: 4.369 MB / 1.071 GB, free: 40 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.211, allocations: 0.5233 MB / 1.071 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.226, allocations: 8.94 MB / 1.08 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003013/1.229, allocations: 2.805 MB / 1.083 GB, free: 3.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/1.23, allocations: 103.4 kB / 1.083 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of SimCode: time 8.82e-07/1.23, allocations: 4 kB / 1.083 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of Templates: time 0.1538/1.384, allocations: 154 MB / 1.233 GB, free: 9.504 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)