Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001377/0.001377, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001848/0.001848, allocations: 194.6 kB / 16.25 MB, free: 6.621 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.553/1.553, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.823/1.823, allocations: 292.3 MB / 0.5485 GB, free: 13.67 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.001432/0.001432, allocations: 70.52 kB / 0.671 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2275, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01136/0.2389, allocations: 9.992 MB / 0.7926 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004869/0.2438, allocations: 3.061 MB / 0.7956 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006305/0.2444, allocations: 27.88 kB / 0.7956 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.2462, allocations: 0.6303 MB / 0.7962 GB, free: 140 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.2475, allocations: 0.6459 MB / 0.7969 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2487, allocations: 0.5883 MB / 0.7975 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002466/0.2512, allocations: 2.746 MB / 0.8001 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003743/0.255, allocations: 3.074 MB / 0.8031 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.2567, allocations: 1.133 MB / 0.8042 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.2586, allocations: 1.465 MB / 0.8057 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.2589, allocations: 219.9 kB / 0.8059 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009719/0.2598, allocations: 491.4 kB / 0.8064 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008849/0.2607, allocations: 0.9863 MB / 0.8073 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009603/0.2617, allocations: 1.015 MB / 0.8083 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003297/0.265, allocations: 3.404 MB / 0.8116 GB, free: 320 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.265, allocations: 0 / 0.8116 GB, free: 320 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.855e-06/0.265, allocations: 0 / 0.8116 GB, free: 320 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.218e-05/0.2651, allocations: 0 / 0.8116 GB, free: 320 kB / 0.6231 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.004248/0.2694, allocations: 1.95 MB / 0.8135 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.2694, allocations: 12.02 kB / 0.8135 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005255/0.2747, allocations: 0.8883 MB / 0.8144 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.2766, allocations: 1.122 MB / 0.8155 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.325e-05/0.2767, allocations: 107.3 kB / 0.8156 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/0.2769, allocations: 148.3 kB / 0.8158 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004253/0.2812, allocations: 3.022 MB / 0.8187 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.67e-05/0.2813, allocations: 11.84 kB / 0.8187 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.2814, allocations: 59.97 kB / 0.8188 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/0.2816, allocations: 175 kB / 0.8189 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003566/0.2852, allocations: 2.608 MB / 0.8215 GB, free: 6.012 MB / 0.6387 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.0147/0.2999, allocations: 13.55 MB / 0.8347 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.3018, allocations: 1.295 MB / 0.836 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.3031, allocations: 1.05 MB / 0.837 GB, free: 5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.726e-05/0.3032, allocations: 12.59 kB / 0.837 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3032, allocations: 43.2 kB / 0.8371 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.505e-06/0.3032, allocations: 0 / 0.8371 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.06753/0.3707, allocations: 19.38 MB / 0.856 GB, free: 1.398 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.3708, allocations: 68.72 kB / 0.8561 GB, free: 1.316 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.3719, allocations: 0.9144 MB / 0.857 GB, free: 404 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001728/0.3721, allocations: 49.7 kB / 0.857 GB, free: 348 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.3726, allocations: 0.7322 MB / 0.8577 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004078/0.373, allocations: 489 kB / 0.8582 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000553/0.3735, allocations: 287.5 kB / 0.8585 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3737, allocations: 353.9 kB / 0.8588 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.3754, allocations: 1.335 MB / 0.8601 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/0.3777, allocations: 1.662 MB / 0.8617 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003803/0.3815, allocations: 3.093 MB / 0.8647 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.3816, allocations: 4 kB / 0.8647 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01163/0.3932, allocations: 5.636 MB / 0.8703 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.3933, allocations: 8.656 kB / 0.8703 GB, free: 2.469 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.3933, allocations: 15.94 kB / 0.8703 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00885/0.4022, allocations: 2.737 MB / 0.8729 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/0.4031, allocations: 191.7 kB / 0.8731 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03505/0.4381, allocations: 25.74 MB / 0.8983 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.4397, allocations: 95.95 kB / 0.8984 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.4399, allocations: 52 kB / 0.8984 GB, free: 5.078 MB / 0.7169 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.001212/0.4411, allocations: 0.7316 MB / 0.8991 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.4414, allocations: 118.6 kB / 0.8992 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/0.4525, allocations: 5.392 MB / 0.9045 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.4526, allocations: 16 kB / 0.9045 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.511e-05/0.4526, allocations: 16 kB / 0.9045 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.321e-05/0.4526, allocations: 7.969 kB / 0.9045 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/0.4689, allocations: 8.648 MB / 0.913 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.4689, allocations: 8.062 kB / 0.913 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/0.4695, allocations: 111.9 kB / 0.9131 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008302/0.4778, allocations: 2.581 MB / 0.9156 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.478, allocations: 24 kB / 0.9156 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.564/1.042, allocations: 22.98 MB / 0.9381 GB, free: 121.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/1.042, allocations: 7.906 kB / 0.9381 GB, free: 121.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/1.056, allocations: 5.124 MB / 0.9431 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.057, allocations: 478.8 kB / 0.9436 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/1.057, allocations: 35.27 kB / 0.9436 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009359/1.058, allocations: 75.27 kB / 0.9437 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008594/1.059, allocations: 119.2 kB / 0.9438 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.059, allocations: 41.53 kB / 0.9438 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001103/1.06, allocations: 0.6417 MB / 0.9444 GB, free: 119 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.543e-06/1.06, allocations: 0 / 0.9444 GB, free: 119 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00324/1.064, allocations: 0.7254 MB / 0.9451 GB, free: 119 MB / 0.7325 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.0003237/1.064, allocations: 143.8 kB / 0.9453 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008589/1.073, allocations: 4.73 MB / 0.9499 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.073, allocations: 1.031 kB / 0.9499 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005548/1.078, allocations: 2.655 MB / 0.9525 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/1.08, allocations: 230.4 kB / 0.9527 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007883/1.088, allocations: 4.679 MB / 0.9573 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.089, allocations: 1.706 MB / 0.959 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008184/1.09, allocations: 330 kB / 0.9593 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/1.09, allocations: 52.72 kB / 0.9593 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.172e-06/1.09, allocations: 0 / 0.9593 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.05179/1.142, allocations: 39.51 MB / 0.9979 GB, free: 77.86 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)