Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001232/0.001232, allocations: 99.36 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.001569/0.001569, allocations: 195.7 kB / 16.25 MB, free: 6.629 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.647/1.647, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.664/1.664, allocations: 251.7 MB / 0.5089 GB, free: 3.293 MB / 414.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.001411/0.001411, allocations: 64.47 kB / 0.6218 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5947/0.5961, allocations: 104.7 MB / 0.724 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02462/0.6208, allocations: 22.41 MB / 0.7459 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.6334, allocations: 6.233 MB / 0.752 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.6357, allocations: 79.56 kB / 0.752 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004801/0.6406, allocations: 1.407 MB / 0.7534 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.6454, allocations: 1.506 MB / 0.7549 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003829/0.6493, allocations: 1.229 MB / 0.7561 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009282/0.6586, allocations: 5.928 MB / 0.7619 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01452/0.6732, allocations: 7.239 MB / 0.7689 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004993/0.6782, allocations: 2.434 MB / 0.7713 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005825/0.684, allocations: 3.038 MB / 0.7743 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002568/0.6867, allocations: 460 kB / 0.7747 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005364/0.6921, allocations: 1.1 MB / 0.7758 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004841/0.6969, allocations: 2.027 MB / 0.7778 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005897/0.7029, allocations: 2.159 MB / 0.7799 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.7137, allocations: 7.291 MB / 0.787 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.7137, allocations: 0 / 0.787 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7137, allocations: 4 kB / 0.787 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002713/0.714, allocations: 0 / 0.787 GB, free: 12.43 MB / 0.6075 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.01188/0.7259, allocations: 3.812 MB / 0.7907 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.726, allocations: 8.031 kB / 0.7907 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006503/0.7325, allocations: 1.21 MB / 0.7919 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005811/0.7383, allocations: 2.223 MB / 0.7941 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/0.7386, allocations: 246.4 kB / 0.7943 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/0.7397, allocations: 312 kB / 0.7946 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.7517, allocations: 6.212 MB / 0.8007 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.87e-05/0.7518, allocations: 15.78 kB / 0.8007 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003984/0.7523, allocations: 139.9 kB / 0.8008 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000509/0.7528, allocations: 406.3 kB / 0.8012 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009151/0.7619, allocations: 4.666 MB / 0.8058 GB, free: 8.805 MB / 0.6231 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.0476/0.8096, allocations: 29.11 MB / 0.8342 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.8121, allocations: 1.416 MB / 0.8356 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/0.8144, allocations: 1.483 MB / 0.837 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.8146, allocations: 13 kB / 0.8371 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.399e-05/0.8147, allocations: 43.56 kB / 0.8371 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 5.35e-06/0.8147, allocations: 0 / 0.8371 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of matching and sorting (n=179): time 0.1333/0.948, allocations: 37.23 MB / 0.8735 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.9481, allocations: 69.41 kB / 0.8735 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.95, allocations: 1.431 MB / 0.8749 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003151/0.9504, allocations: 53.7 kB / 0.875 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.9514, allocations: 1.535 MB / 0.8765 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006855/0.9521, allocations: 0.6201 MB / 0.8771 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006986/0.9528, allocations: 379.3 kB / 0.8774 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.9529, allocations: 305.1 kB / 0.8777 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/0.9553, allocations: 1.788 MB / 0.8795 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002869/0.9582, allocations: 2.354 MB / 0.8818 GB, free: 7.859 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005471/0.9636, allocations: 4.387 MB / 0.8861 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.9637, allocations: 12 kB / 0.8861 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01732/0.981, allocations: 8.555 MB / 0.8944 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.9811, allocations: 12 kB / 0.8944 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/0.9811, allocations: 20 kB / 0.8945 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01494/0.9961, allocations: 4.671 MB / 0.899 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.9975, allocations: 299.5 kB / 0.8993 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5605/1.558, allocations: 32.61 MB / 0.9311 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/1.56, allocations: 146.5 kB / 0.9313 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/1.56, allocations: 89.62 kB / 0.9314 GB, free: 150.3 MB / 0.7169 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.001938/1.562, allocations: 1.333 MB / 0.9327 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004202/1.563, allocations: 197.8 kB / 0.9329 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/1.577, allocations: 8.431 MB / 0.9411 GB, free: 146.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/1.577, allocations: 23.22 kB / 0.9411 GB, free: 146.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.013e-05/1.577, allocations: 30.59 kB / 0.9411 GB, free: 146.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/1.577, allocations: 7.969 kB / 0.9412 GB, free: 146.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/1.597, allocations: 12.85 MB / 0.9537 GB, free: 133.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/1.597, allocations: 12.06 kB / 0.9537 GB, free: 133.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/1.597, allocations: 159.8 kB / 0.9539 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01218/1.609, allocations: 4.518 MB / 0.9583 GB, free: 129.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002879/1.61, allocations: 36 kB / 0.9583 GB, free: 129.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03568/1.645, allocations: 32.23 MB / 0.9898 GB, free: 96.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.646, allocations: 8 kB / 0.9898 GB, free: 96.05 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.659, allocations: 8.24 MB / 0.9978 GB, free: 87.69 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.66, allocations: 0.6195 MB / 0.9985 GB, free: 87.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/1.661, allocations: 32 kB / 0.9985 GB, free: 87.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/1.662, allocations: 140.2 kB / 0.9986 GB, free: 86.88 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007788/1.663, allocations: 165 kB / 0.9988 GB, free: 86.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/1.663, allocations: 56 kB / 0.9988 GB, free: 86.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001033/1.664, allocations: 0.9587 MB / 0.9998 GB, free: 85.71 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.664, allocations: 0 / 0.9998 GB, free: 85.71 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003021/1.667, allocations: 1.105 MB / 1.001 GB, free: 84.6 MB / 0.7169 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.0002919/1.667, allocations: 150.9 kB / 1.001 GB, free: 84.45 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.678, allocations: 7.058 MB / 1.008 GB, free: 77.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.678, allocations: 0 / 1.008 GB, free: 77.34 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007676/1.686, allocations: 4.366 MB / 1.012 GB, free: 72.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/1.689, allocations: 0.5285 MB / 1.013 GB, free: 72.42 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/1.699, allocations: 8.426 MB / 1.021 GB, free: 63.92 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/1.701, allocations: 2.723 MB / 1.024 GB, free: 61.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001042/1.702, allocations: 384.6 kB / 1.024 GB, free: 60.78 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/1.702, allocations: 95.44 kB / 1.024 GB, free: 60.69 MB / 0.7169 GB Notification: Performance of SimCode: time 8.81e-07/1.702, allocations: 0 / 1.024 GB, free: 60.69 MB / 0.7169 GB Notification: Performance of Templates: time 0.07634/1.779, allocations: 61.03 MB / 1.084 GB, free: 4 kB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)