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_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 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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.007456/0.007456, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001275/0.001275, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.659/1.659, allocations: 205.1 MB / 222.5 MB, free: 4.469 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.701/1.701, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001442/0.001442, allocations: 72.38 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2624, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01316/0.2756, allocations: 10.02 MB / 0.8378 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006168/0.2818, allocations: 3.1 MB / 0.8409 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009995/0.2829, allocations: 31.88 kB / 0.8409 GB, free: 3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.285, allocations: 0.6875 MB / 0.8416 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.2872, allocations: 0.7234 MB / 0.8423 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.289, allocations: 0.6355 MB / 0.8429 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003563/0.2925, allocations: 2.723 MB / 0.8455 GB, free: 14.22 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002928/0.2955, allocations: 2.531 MB / 0.848 GB, free: 11.65 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.2976, allocations: 1.126 MB / 0.8491 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.2995, allocations: 1.379 MB / 0.8505 GB, free: 9.137 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003113/0.2998, allocations: 220 kB / 0.8507 GB, free: 8.922 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.3009, allocations: 491.3 kB / 0.8511 GB, free: 8.441 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001/0.3019, allocations: 0.9707 MB / 0.8521 GB, free: 7.469 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.3031, allocations: 1.019 MB / 0.8531 GB, free: 6.445 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004116/0.3072, allocations: 3.408 MB / 0.8564 GB, free: 3.027 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3072, allocations: 4 kB / 0.8564 GB, free: 3.023 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3072, allocations: 0 / 0.8564 GB, free: 3.023 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.835e-05/0.3073, allocations: 0 / 0.8564 GB, free: 3.023 MB / 0.67 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.005214/0.3125, allocations: 1.94 MB / 0.8583 GB, free: 1.027 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.901e-05/0.3126, allocations: 8.031 kB / 0.8583 GB, free: 1.02 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005959/0.3186, allocations: 0.8805 MB / 0.8592 GB, free: 140 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.3211, allocations: 1.168 MB / 0.8603 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.113e-05/0.3212, allocations: 111.3 kB / 0.8604 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.3216, allocations: 140.3 kB / 0.8606 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005376/0.3269, allocations: 3.013 MB / 0.8635 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.434e-05/0.327, allocations: 7.938 kB / 0.8635 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.3272, allocations: 67.95 kB / 0.8636 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003521/0.3276, allocations: 182.9 kB / 0.8637 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005739/0.3333, allocations: 2.604 MB / 0.8663 GB, free: 8.699 MB / 0.6856 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.0204/0.3538, allocations: 13.48 MB / 0.8795 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.356, allocations: 1.291 MB / 0.8807 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.3576, allocations: 1.054 MB / 0.8817 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.843e-05/0.3577, allocations: 8.656 kB / 0.8818 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3578, allocations: 35.22 kB / 0.8818 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.796e-06/0.3578, allocations: 0 / 0.8818 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of matching and sorting (n=139): time 0.06768/0.4255, allocations: 19.4 MB / 0.9007 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.4256, allocations: 64.72 kB / 0.9008 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.4271, allocations: 0.9299 MB / 0.9017 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000215/0.4273, allocations: 49.7 kB / 0.9017 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005736/0.4279, allocations: 0.7322 MB / 0.9025 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00055/0.4284, allocations: 485 kB / 0.9029 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006706/0.4291, allocations: 291.3 kB / 0.9032 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4293, allocations: 353.9 kB / 0.9035 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/0.4313, allocations: 1.339 MB / 0.9048 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.4335, allocations: 1.655 MB / 0.9065 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004204/0.4377, allocations: 3.089 MB / 0.9095 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/0.4378, allocations: 4 kB / 0.9095 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01167/0.4495, allocations: 5.64 MB / 0.915 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.4495, allocations: 8 kB / 0.915 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.4496, allocations: 11.94 kB / 0.915 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008955/0.4585, allocations: 2.721 MB / 0.9177 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009865/0.4596, allocations: 195.7 kB / 0.9179 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7912/1.251, allocations: 25.69 MB / 0.9429 GB, free: 74.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/1.253, allocations: 95.36 kB / 0.943 GB, free: 74.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/1.253, allocations: 56.92 kB / 0.9431 GB, free: 74.47 MB / 0.7325 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.001957/1.255, allocations: 0.7309 MB / 0.9438 GB, free: 74.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/1.255, allocations: 116 kB / 0.9439 GB, free: 74.08 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.268, allocations: 5.403 MB / 0.9492 GB, free: 72.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/1.268, allocations: 18.47 kB / 0.9492 GB, free: 72.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.708e-05/1.268, allocations: 22.03 kB / 0.9492 GB, free: 72.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/1.268, allocations: 3.656 kB / 0.9492 GB, free: 72.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/1.284, allocations: 8.69 MB / 0.9577 GB, free: 69.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/1.284, allocations: 4.516 kB / 0.9577 GB, free: 69.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/1.284, allocations: 121.4 kB / 0.9578 GB, free: 69.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00774/1.292, allocations: 2.595 MB / 0.9604 GB, free: 68.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/1.292, allocations: 25.62 kB / 0.9604 GB, free: 68.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02638/1.319, allocations: 24.16 MB / 0.984 GB, free: 48.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/1.319, allocations: 4 kB / 0.984 GB, free: 48.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008996/1.328, allocations: 5.245 MB / 0.9891 GB, free: 43.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.329, allocations: 495.5 kB / 0.9896 GB, free: 42.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/1.329, allocations: 31.98 kB / 0.9896 GB, free: 42.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/1.33, allocations: 75.91 kB / 0.9897 GB, free: 42.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006815/1.33, allocations: 121 kB / 0.9898 GB, free: 42.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.331, allocations: 36.88 kB / 0.9898 GB, free: 42.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008764/1.331, allocations: 0.6512 MB / 0.9905 GB, free: 41.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.331, allocations: 0.8438 kB / 0.9905 GB, free: 41.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003187/1.335, allocations: 0.7148 MB / 0.9912 GB, free: 41.25 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.0002743/1.335, allocations: 142.1 kB / 0.9913 GB, free: 41.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00632/1.341, allocations: 4.212 MB / 0.9954 GB, free: 36.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.341, allocations: 0 / 0.9954 GB, free: 36.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00475/1.346, allocations: 2.703 MB / 0.9981 GB, free: 34.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/1.348, allocations: 222.7 kB / 0.9983 GB, free: 33.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008606/1.356, allocations: 3.98 MB / 1.002 GB, free: 29.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002193/1.359, allocations: 1.7 MB / 1.004 GB, free: 28.15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009843/1.36, allocations: 323.6 kB / 1.004 GB, free: 27.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/1.36, allocations: 59.42 kB / 1.004 GB, free: 27.79 MB / 0.7325 GB Notification: Performance of SimCode: time 1.262e-06/1.36, allocations: 0 / 1.004 GB, free: 27.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.05361/1.413, allocations: 40.31 MB / 1.044 GB, free: 3.684 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)