Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001458/0.001458, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 65.22 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3477, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01355/0.3613, allocations: 10.03 MB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006653/0.368, allocations: 3.037 MB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.3691, allocations: 35.81 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.3715, allocations: 0.6912 MB / 1.082 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.3737, allocations: 0.6844 MB / 1.082 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.3756, allocations: 0.6355 MB / 1.083 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003561/0.3791, allocations: 2.738 MB / 1.086 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003555/0.3827, allocations: 2.55 MB / 1.088 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.3848, allocations: 1.122 MB / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002511/0.3873, allocations: 1.39 MB / 1.091 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007818/0.3881, allocations: 220 kB / 1.091 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.3897, allocations: 483.4 kB / 1.091 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001769/0.3915, allocations: 0.9863 MB / 1.092 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002382/0.3939, allocations: 1.011 MB / 1.093 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004602/0.3985, allocations: 3.393 MB / 1.096 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3986, allocations: 0 / 1.096 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.836e-06/0.3986, allocations: 0 / 1.096 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001395/0.3988, allocations: 0 / 1.096 GB, free: 13.33 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.006312/0.4051, allocations: 1.936 MB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4051, allocations: 12.03 kB / 1.098 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006286/0.4114, allocations: 0.8767 MB / 1.099 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.4138, allocations: 1.129 MB / 1.1 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.4139, allocations: 115.3 kB / 1.1 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005368/0.4144, allocations: 136.4 kB / 1.101 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005783/0.4202, allocations: 3.017 MB / 1.104 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/0.4203, allocations: 11.84 kB / 1.104 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/0.4206, allocations: 63.98 kB / 1.104 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002246/0.4208, allocations: 171 kB / 1.104 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004533/0.4254, allocations: 2.608 MB / 1.106 GB, free: 3.059 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.01773/0.4431, allocations: 13.57 MB / 1.12 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.4451, allocations: 1.297 MB / 1.121 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.4465, allocations: 1.054 MB / 1.122 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.077e-05/0.4466, allocations: 12.66 kB / 1.122 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.4467, allocations: 39.22 kB / 1.122 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.015e-06/0.4467, allocations: 0 / 1.122 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139): time 0.07592/0.5226, allocations: 19.38 MB / 1.141 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.5227, allocations: 68.72 kB / 1.141 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.5241, allocations: 0.9183 MB / 1.142 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.5243, allocations: 45.7 kB / 1.142 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/0.5248, allocations: 0.7321 MB / 1.143 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005037/0.5253, allocations: 489 kB / 1.143 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006032/0.5259, allocations: 291.4 kB / 1.143 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5261, allocations: 353.9 kB / 1.144 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.5279, allocations: 1.339 MB / 1.145 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.53, allocations: 1.666 MB / 1.147 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004036/0.5341, allocations: 3.092 MB / 1.15 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.5341, allocations: 0 / 1.15 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01194/0.5461, allocations: 5.636 MB / 1.155 GB, free: 15.51 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.5461, allocations: 8 kB / 1.155 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.5461, allocations: 8 kB / 1.155 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008973/0.5551, allocations: 2.752 MB / 1.158 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.556, allocations: 191.6 kB / 1.158 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03676/0.5928, allocations: 25.74 MB / 1.183 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.5944, allocations: 95.94 kB / 1.183 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.5946, allocations: 56 kB / 1.183 GB, free: 2.094 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.001177/0.5958, allocations: 0.7316 MB / 1.184 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.596, allocations: 114.6 kB / 1.184 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/0.6077, allocations: 5.4 MB / 1.189 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.6077, allocations: 16 kB / 1.189 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.575e-05/0.6077, allocations: 20 kB / 1.189 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.6078, allocations: 3.984 kB / 1.189 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/0.6246, allocations: 8.632 MB / 1.198 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.6247, allocations: 4 kB / 1.198 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.6251, allocations: 120.3 kB / 1.198 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008487/0.6336, allocations: 2.563 MB / 1.2 GB, free: 324 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.6338, allocations: 35.94 kB / 1.2 GB, free: 288 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03317/0.667, allocations: 23 MB / 1.223 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.667, allocations: 11.88 kB / 1.223 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.6782, allocations: 5.126 MB / 1.228 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.6792, allocations: 471.6 kB / 1.228 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.6795, allocations: 35.91 kB / 1.228 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009861/0.6805, allocations: 75.89 kB / 1.229 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005673/0.681, allocations: 121 kB / 1.229 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.6811, allocations: 40 kB / 1.229 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008556/0.682, allocations: 0.6434 MB / 1.229 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/0.682, allocations: 0 / 1.229 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002253/0.6843, allocations: 0.7227 MB / 1.23 GB, free: 1.379 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.0002338/0.6845, allocations: 139.6 kB / 1.23 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008407/0.6929, allocations: 4.737 MB / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.693, allocations: 0 / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005847/0.6988, allocations: 2.647 MB / 1.237 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.7002, allocations: 229.1 kB / 1.238 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/0.7067, allocations: 3.937 MB / 1.241 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.7083, allocations: 1.7 MB / 1.243 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008121/0.7092, allocations: 325.5 kB / 1.243 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.7093, allocations: 55.44 kB / 1.243 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/0.7094, allocations: 0 / 1.243 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.5232/1.233, allocations: 38.98 MB / 1.282 GB, free: 160 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)