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.001197/0.001197, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001279/0.001279, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.433/1.433, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.877/1.877, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001636/0.001637, allocations: 64.23 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2399, allocations: 114.6 MB / 0.784 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.3916/0.6316, allocations: 22.59 MB / 0.8061 GB, free: 37.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01047/0.6421, allocations: 6.266 MB / 0.8122 GB, free: 32.93 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.6446, allocations: 96.41 kB / 0.8123 GB, free: 32.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004142/0.6488, allocations: 1.536 MB / 0.8138 GB, free: 31.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004746/0.6536, allocations: 1.631 MB / 0.8154 GB, free: 31.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003879/0.6575, allocations: 1.339 MB / 0.8167 GB, free: 30.3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008208/0.6657, allocations: 5.94 MB / 0.8225 GB, free: 27.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008578/0.6743, allocations: 6.088 MB / 0.8285 GB, free: 25.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005342/0.6797, allocations: 2.409 MB / 0.8308 GB, free: 24.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005958/0.6857, allocations: 2.864 MB / 0.8336 GB, free: 23.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001838/0.6876, allocations: 456.9 kB / 0.834 GB, free: 23.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.6916, allocations: 1.102 MB / 0.8351 GB, free: 22.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003729/0.6953, allocations: 2.035 MB / 0.8371 GB, free: 22.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004994/0.7003, allocations: 2.165 MB / 0.8392 GB, free: 20.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.7117, allocations: 7.248 MB / 0.8463 GB, free: 18.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.7118, allocations: 0 / 0.8463 GB, free: 18.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7118, allocations: 0 / 0.8463 GB, free: 18.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000295/0.7121, allocations: 4 kB / 0.8463 GB, free: 18.08 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.01231/0.7244, allocations: 3.823 MB / 0.85 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.7245, allocations: 9.562 kB / 0.85 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007098/0.7316, allocations: 1.212 MB / 0.8512 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005109/0.7367, allocations: 2.22 MB / 0.8534 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.737, allocations: 243.4 kB / 0.8536 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.7383, allocations: 317.3 kB / 0.8539 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.7512, allocations: 6.207 MB / 0.86 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.7514, allocations: 18.39 kB / 0.86 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/0.7519, allocations: 137.5 kB / 0.8601 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005232/0.7524, allocations: 403.9 kB / 0.8605 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008964/0.7614, allocations: 4.661 MB / 0.8651 GB, free: 6.742 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.0344/0.7959, allocations: 29.15 MB / 0.8935 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.7981, allocations: 1.408 MB / 0.8949 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.8001, allocations: 1.484 MB / 0.8964 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.627e-05/0.8002, allocations: 16.98 kB / 0.8964 GB, free: 4.898 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.8002, allocations: 45.81 kB / 0.8964 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 2.845e-06/0.8002, allocations: 0 / 0.8964 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of matching and sorting (n=179): time 0.1517/0.9519, allocations: 37.24 MB / 0.9328 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.952, allocations: 73.41 kB / 0.9329 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/0.9545, allocations: 1.423 MB / 0.9343 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003386/0.9549, allocations: 49.7 kB / 0.9343 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.956, allocations: 1.542 MB / 0.9358 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008362/0.9569, allocations: 0.6084 MB / 0.9364 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008886/0.9578, allocations: 387.3 kB / 0.9368 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.9579, allocations: 301.1 kB / 0.9371 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002602/0.9605, allocations: 1.784 MB / 0.9388 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003071/0.9636, allocations: 2.346 MB / 0.9411 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005869/0.9694, allocations: 4.391 MB / 0.9454 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.692e-05/0.9695, allocations: 12 kB / 0.9454 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01901/0.9885, allocations: 8.559 MB / 0.9538 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.9886, allocations: 16 kB / 0.9538 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/0.9886, allocations: 16 kB / 0.9538 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01553/1.004, allocations: 4.673 MB / 0.9583 GB, free: 4.758 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.006, allocations: 299.5 kB / 0.9586 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0496/1.055, allocations: 32.61 MB / 0.9905 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/1.059, allocations: 151.8 kB / 0.9906 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006836/1.059, allocations: 80 kB / 0.9907 GB, free: 2.781 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.004417/1.064, allocations: 1.332 MB / 0.992 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009267/1.065, allocations: 205.6 kB / 0.9922 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01905/1.084, allocations: 8.435 MB / 1 GB, free: 8.75 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.815e-05/1.084, allocations: 16.22 kB / 1 GB, free: 8.734 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001239/1.084, allocations: 35.94 kB / 1 GB, free: 8.699 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.873e-05/1.084, allocations: 11.91 kB / 1 GB, free: 8.688 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02829/1.112, allocations: 12.83 MB / 1.013 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/1.113, allocations: 8 kB / 1.013 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007953/1.113, allocations: 167.8 kB / 1.013 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0148/1.128, allocations: 4.521 MB / 1.018 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003636/1.129, allocations: 39.98 kB / 1.018 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04671/1.175, allocations: 32.22 MB / 1.049 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-06/1.175, allocations: 8 kB / 1.049 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/1.193, allocations: 8.236 MB / 1.057 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.195, allocations: 0.6157 MB / 1.058 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004182/1.195, allocations: 39.94 kB / 1.058 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.197, allocations: 139.8 kB / 1.058 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008284/1.197, allocations: 168.9 kB / 1.058 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.198, allocations: 51.47 kB / 1.058 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001368/1.199, allocations: 0.9588 MB / 1.059 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/1.199, allocations: 0 / 1.059 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003921/1.203, allocations: 1.117 MB / 1.06 GB, free: 10.4 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.0003829/1.203, allocations: 159 kB / 1.06 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01404/1.217, allocations: 7.068 MB / 1.067 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.217, allocations: 8.312 kB / 1.067 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.009976/1.227, allocations: 4.355 MB / 1.071 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/1.231, allocations: 0.5245 MB / 1.072 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.244, allocations: 7.397 MB / 1.079 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/1.247, allocations: 2.801 MB / 1.082 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/1.247, allocations: 107.4 kB / 1.082 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of SimCode: time 8.31e-07/1.247, allocations: 0 / 1.082 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of Templates: time 0.5094/1.757, allocations: 154 MB / 1.232 GB, free: 235.9 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)