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.001126/0.001126, allocations: 107.4 kB / 16.37 MB, free: 6.461 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.001233/0.001232, allocations: 185.8 kB / 17.31 MB, free: 5.812 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.496/1.496, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.883/1.883, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001455/0.001455, allocations: 75.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2126, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.3887/0.6013, allocations: 22.57 MB / 0.8069 GB, free: 37.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.6131, allocations: 6.277 MB / 0.813 GB, free: 32.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002992/0.6162, allocations: 93.94 kB / 0.8131 GB, free: 32.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004801/0.6211, allocations: 1.534 MB / 0.8146 GB, free: 31.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00566/0.6268, allocations: 1.635 MB / 0.8162 GB, free: 30.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004623/0.6314, allocations: 1.337 MB / 0.8175 GB, free: 30.1 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01019/0.6416, allocations: 5.939 MB / 0.8233 GB, free: 27.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01142/0.6531, allocations: 6.092 MB / 0.8292 GB, free: 25.29 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005684/0.6588, allocations: 2.414 MB / 0.8316 GB, free: 24.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006499/0.6653, allocations: 2.869 MB / 0.8344 GB, free: 22.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002226/0.6676, allocations: 460.7 kB / 0.8348 GB, free: 22.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004849/0.6725, allocations: 1.094 MB / 0.8359 GB, free: 22.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005285/0.6778, allocations: 2.031 MB / 0.8379 GB, free: 21.97 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007135/0.6849, allocations: 2.168 MB / 0.84 GB, free: 20.58 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01368/0.6986, allocations: 7.294 MB / 0.8471 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.6987, allocations: 1.688 kB / 0.8471 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6987, allocations: 1.438 kB / 0.8471 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002989/0.699, allocations: 0 / 0.8471 GB, free: 17.71 MB / 0.6544 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.01473/0.7137, allocations: 3.822 MB / 0.8509 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.7138, allocations: 9 kB / 0.8509 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008491/0.7223, allocations: 1.205 MB / 0.852 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007069/0.7294, allocations: 2.34 MB / 0.8543 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003806/0.7298, allocations: 243 kB / 0.8546 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/0.7318, allocations: 321.9 kB / 0.8549 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.7488, allocations: 6.215 MB / 0.8609 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002275/0.749, allocations: 17.62 kB / 0.8609 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001508/0.7506, allocations: 138 kB / 0.8611 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007643/0.7513, allocations: 408 kB / 0.8615 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.7624, allocations: 4.665 MB / 0.866 GB, free: 6.301 MB / 0.6544 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.0399/0.8023, allocations: 28.95 MB / 0.8943 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/0.8046, allocations: 1.424 MB / 0.8957 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.8067, allocations: 1.492 MB / 0.8971 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.8069, allocations: 10.97 kB / 0.8971 GB, free: 4.406 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.8069, allocations: 43.56 kB / 0.8972 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 3.347e-06/0.8069, allocations: 0 / 0.8972 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of matching and sorting (n=179): time 0.1517/0.9587, allocations: 37.23 MB / 0.9335 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.9588, allocations: 69.41 kB / 0.9336 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.9613, allocations: 1.419 MB / 0.935 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003586/0.9617, allocations: 53.7 kB / 0.9351 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.9628, allocations: 1.542 MB / 0.9366 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008538/0.9636, allocations: 0.6162 MB / 0.9372 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009307/0.9646, allocations: 387.3 kB / 0.9375 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.9647, allocations: 301.1 kB / 0.9378 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/0.9675, allocations: 1.784 MB / 0.9396 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/0.9706, allocations: 2.35 MB / 0.9419 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006011/0.9766, allocations: 4.391 MB / 0.9461 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.9766, allocations: 4 kB / 0.9461 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01829/0.9949, allocations: 8.567 MB / 0.9545 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.995, allocations: 12 kB / 0.9545 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/0.995, allocations: 16 kB / 0.9545 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01503/1.01, allocations: 4.639 MB / 0.9591 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.011, allocations: 307.4 kB / 0.9594 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0482/1.06, allocations: 32.59 MB / 0.9912 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/1.062, allocations: 149.9 kB / 0.9913 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004259/1.063, allocations: 84 kB / 0.9914 GB, free: 2.348 MB / 0.7794 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.002773/1.065, allocations: 1.336 MB / 0.9927 GB, free: 1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006113/1.066, allocations: 197.6 kB / 0.9929 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01793/1.084, allocations: 8.433 MB / 1.001 GB, free: 8.324 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/1.084, allocations: 20 kB / 1.001 GB, free: 8.305 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.199e-05/1.084, allocations: 27.94 kB / 1.001 GB, free: 8.277 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.632e-05/1.084, allocations: 11.95 kB / 1.001 GB, free: 8.266 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02873/1.113, allocations: 12.84 MB / 1.014 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.926e-05/1.113, allocations: 4 kB / 1.014 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.114, allocations: 172.5 kB / 1.014 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02105/1.135, allocations: 4.489 MB / 1.018 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004983/1.136, allocations: 40.12 kB / 1.018 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05322/1.189, allocations: 32.2 MB / 1.05 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/1.189, allocations: 11.94 kB / 1.05 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/1.206, allocations: 8.244 MB / 1.058 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.208, allocations: 0.6079 MB / 1.058 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000514/1.209, allocations: 47.83 kB / 1.058 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/1.21, allocations: 135.8 kB / 1.059 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007656/1.211, allocations: 172.9 kB / 1.059 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.211, allocations: 52 kB / 1.059 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001404/1.213, allocations: 0.9549 MB / 1.06 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/1.213, allocations: 3.094 kB / 1.06 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003865/1.217, allocations: 1.121 MB / 1.061 GB, free: 10.01 MB / 0.8575 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.0003396/1.217, allocations: 155 kB / 1.061 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01287/1.23, allocations: 6.536 MB / 1.067 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.23, allocations: 0 / 1.067 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.009884/1.24, allocations: 4.363 MB / 1.072 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/1.243, allocations: 0.5273 MB / 1.072 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/1.255, allocations: 7.315 MB / 1.079 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003078/1.258, allocations: 2.808 MB / 1.082 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/1.259, allocations: 99.44 kB / 1.082 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of SimCode: time 1.302e-06/1.259, allocations: 4 kB / 1.082 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of Templates: time 0.4692/1.728, allocations: 154 MB / 1.233 GB, free: 236.1 MB / 0.92 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)