Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001413/0.001413, allocations: 195.8 kB / 16.14 MB, free: 6.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 64.5 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3485, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01278/0.3613, allocations: 9.996 MB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006625/0.368, allocations: 3.045 MB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.3691, allocations: 27.88 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.3712, allocations: 0.6264 MB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.3731, allocations: 0.6459 MB / 1.082 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.3748, allocations: 0.5923 MB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004322/0.3791, allocations: 4.064 MB / 1.086 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004467/0.3836, allocations: 2.822 MB / 1.089 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.3856, allocations: 0.9498 MB / 1.09 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.3881, allocations: 1.426 MB / 1.091 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006585/0.3888, allocations: 148 kB / 1.091 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.3903, allocations: 0.4953 MB / 1.092 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.3918, allocations: 0.9121 MB / 1.093 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.3939, allocations: 0.941 MB / 1.094 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.3975, allocations: 3.35 MB / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3975, allocations: 0 / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3975, allocations: 0 / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.411e-05/0.3976, allocations: 0 / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004103/0.4017, allocations: 1.951 MB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4017, allocations: 8.031 kB / 1.099 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005663/0.4074, allocations: 0.8844 MB / 1.1 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.4098, allocations: 1.126 MB / 1.101 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.4099, allocations: 107.3 kB / 1.101 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.4103, allocations: 152.3 kB / 1.101 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004929/0.4152, allocations: 3.013 MB / 1.104 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.4153, allocations: 3.938 kB / 1.104 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.4155, allocations: 67.97 kB / 1.104 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002346/0.4157, allocations: 179 kB / 1.104 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/0.4198, allocations: 2.604 MB / 1.107 GB, free: 2.453 MB / 0.8575 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.01632/0.4361, allocations: 13.56 MB / 1.12 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.4382, allocations: 1.299 MB / 1.121 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.4396, allocations: 1.054 MB / 1.122 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.446e-05/0.4397, allocations: 12.64 kB / 1.122 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.4397, allocations: 39.22 kB / 1.122 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.376e-06/0.4397, allocations: 0 / 1.122 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139): time 0.07055/0.5103, allocations: 19.4 MB / 1.141 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.5104, allocations: 64.72 kB / 1.141 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.5119, allocations: 0.9184 MB / 1.142 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002337/0.5121, allocations: 45.7 kB / 1.142 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005003/0.5126, allocations: 0.7283 MB / 1.143 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005444/0.5132, allocations: 485 kB / 1.143 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006768/0.5139, allocations: 291.5 kB / 1.144 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.514, allocations: 353.9 kB / 1.144 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.516, allocations: 1.335 MB / 1.145 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.5183, allocations: 1.659 MB / 1.147 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/0.5225, allocations: 3.096 MB / 1.15 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.5226, allocations: 4 kB / 1.15 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01237/0.5349, allocations: 5.638 MB / 1.155 GB, free: 14.9 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.535, allocations: 8 kB / 1.155 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.535, allocations: 11.94 kB / 1.156 GB, free: 14.88 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00915/0.5442, allocations: 2.716 MB / 1.158 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008684/0.5451, allocations: 199.6 kB / 1.158 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03533/0.5805, allocations: 23.34 MB / 1.181 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.582, allocations: 95.94 kB / 1.181 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/0.5824, allocations: 60 kB / 1.181 GB, free: 3.926 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001489/0.5839, allocations: 0.736 MB / 1.182 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.5842, allocations: 114.6 kB / 1.182 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.5958, allocations: 5.396 MB / 1.187 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.5958, allocations: 12 kB / 1.187 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.186e-05/0.5959, allocations: 20 kB / 1.187 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.5959, allocations: 7.969 kB / 1.187 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/0.6129, allocations: 8.649 MB / 1.196 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.613, allocations: 7.938 kB / 1.196 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.6135, allocations: 119.8 kB / 1.196 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008487/0.622, allocations: 2.545 MB / 1.198 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002165/0.6223, allocations: 28 kB / 1.199 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03172/0.654, allocations: 20.88 MB / 1.219 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.654, allocations: 4 kB / 1.219 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.6651, allocations: 5.131 MB / 1.224 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.6661, allocations: 475.6 kB / 1.224 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/0.6665, allocations: 35.89 kB / 1.224 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.6675, allocations: 76.28 kB / 1.224 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006028/0.6681, allocations: 121 kB / 1.225 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.6683, allocations: 40 kB / 1.225 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009597/0.6692, allocations: 0.6474 MB / 1.225 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6692, allocations: 3.938 kB / 1.225 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002653/0.6719, allocations: 0.7188 MB / 1.226 GB, free: 5.348 MB / 0.9825 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002821/0.6722, allocations: 135.1 kB / 1.226 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007091/0.6793, allocations: 4.145 MB / 1.23 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.6793, allocations: 4 kB / 1.23 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00537/0.6847, allocations: 2.65 MB / 1.233 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.6865, allocations: 213.7 kB / 1.233 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007576/0.6941, allocations: 4.683 MB / 1.238 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/0.6961, allocations: 1.704 MB / 1.239 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008837/0.6969, allocations: 329.4 kB / 1.239 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.6972, allocations: 59.44 kB / 1.24 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of SimCode: time 1.312e-06/0.6972, allocations: 0 / 1.24 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of Templates: time 0.638/1.335, allocations: 38.18 MB / 1.277 GB, free: 162.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)