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.001541/0.001541, allocations: 107.7 kB / 15.99 MB, free: 6.348 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.001804/0.001804, allocations: 192.8 kB / 16.91 MB, free: 6.188 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.52/1.52, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.714/1.714, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001393/0.001393, allocations: 69.42 kB / 0.6717 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2419, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01169/0.2536, allocations: 9.986 MB / 0.7933 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005637/0.2593, allocations: 3.058 MB / 0.7963 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000817/0.2601, allocations: 31.81 kB / 0.7963 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.262, allocations: 0.6371 MB / 0.7969 GB, free: 124 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.2636, allocations: 0.6498 MB / 0.7976 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.2652, allocations: 0.5811 MB / 0.7981 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0032/0.2684, allocations: 2.75 MB / 0.8008 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003925/0.2723, allocations: 3.062 MB / 0.8038 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.2742, allocations: 1.141 MB / 0.8049 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.2761, allocations: 1.469 MB / 0.8063 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.2764, allocations: 219.9 kB / 0.8066 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009174/0.2773, allocations: 495.4 kB / 0.807 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009467/0.2783, allocations: 0.9824 MB / 0.808 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.2794, allocations: 1.011 MB / 0.809 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.2822, allocations: 2.884 MB / 0.8118 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2822, allocations: 0 / 0.8118 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2822, allocations: 0 / 0.8118 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.912e-05/0.2823, allocations: 0 / 0.8118 GB, free: 0.8242 MB / 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.003919/0.2862, allocations: 1.943 MB / 0.8137 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.2863, allocations: 8.031 kB / 0.8137 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005478/0.2918, allocations: 0.8922 MB / 0.8146 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.2938, allocations: 1.122 MB / 0.8157 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.581e-05/0.294, allocations: 107.3 kB / 0.8158 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004375/0.2944, allocations: 140.3 kB / 0.8159 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005471/0.2999, allocations: 3.018 MB / 0.8188 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.455e-05/0.3, allocations: 7.906 kB / 0.8189 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/0.3003, allocations: 63.97 kB / 0.8189 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/0.3005, allocations: 175 kB / 0.8191 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00462/0.3051, allocations: 2.615 MB / 0.8216 GB, free: 6.531 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.01748/0.3226, allocations: 13.57 MB / 0.8349 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.3246, allocations: 1.287 MB / 0.8361 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.326, allocations: 1.05 MB / 0.8372 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.749e-05/0.3261, allocations: 8.656 kB / 0.8372 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3262, allocations: 43.16 kB / 0.8372 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.655e-06/0.3262, allocations: 0 / 0.8372 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.06784/0.394, allocations: 19.38 MB / 0.8561 GB, free: 1.922 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3941, allocations: 72.7 kB / 0.8562 GB, free: 1.836 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.3954, allocations: 0.9145 MB / 0.8571 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.3956, allocations: 45.7 kB / 0.8572 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.3961, allocations: 0.736 MB / 0.8579 GB, free: 116 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007062/0.3968, allocations: 485 kB / 0.8583 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007048/0.3975, allocations: 287.5 kB / 0.8586 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3977, allocations: 353.9 kB / 0.8589 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.3996, allocations: 1.335 MB / 0.8602 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.4016, allocations: 1.662 MB / 0.8619 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.4056, allocations: 3.093 MB / 0.8649 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.4056, allocations: 4 kB / 0.8649 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01304/0.4187, allocations: 5.641 MB / 0.8704 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/0.4188, allocations: 8 kB / 0.8704 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.4188, allocations: 15.94 kB / 0.8704 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00875/0.4276, allocations: 2.733 MB / 0.8731 GB, free: 236 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000803/0.4284, allocations: 187.7 kB / 0.8733 GB, free: 48 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0355/0.4639, allocations: 25.74 MB / 0.8984 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4654, allocations: 95.95 kB / 0.8985 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003211/0.4657, allocations: 56 kB / 0.8986 GB, free: 5.598 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.001528/0.4673, allocations: 0.7316 MB / 0.8993 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.4677, allocations: 118.6 kB / 0.8994 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.4789, allocations: 5.392 MB / 0.9046 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.479, allocations: 16 kB / 0.9047 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.671e-05/0.4791, allocations: 16 kB / 0.9047 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.012e-05/0.4791, allocations: 7.969 kB / 0.9047 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.4964, allocations: 8.645 MB / 0.9131 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/0.4964, allocations: 8.062 kB / 0.9131 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.4969, allocations: 115.8 kB / 0.9132 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008447/0.5054, allocations: 2.573 MB / 0.9158 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002413/0.5057, allocations: 28 kB / 0.9158 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4628/0.9685, allocations: 22.99 MB / 0.9382 GB, free: 121.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.9685, allocations: 4.656 kB / 0.9382 GB, free: 121.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/0.9804, allocations: 5.13 MB / 0.9432 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009898/0.9815, allocations: 482 kB / 0.9437 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.9817, allocations: 29.75 kB / 0.9437 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008606/0.9826, allocations: 78.33 kB / 0.9438 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006296/0.9832, allocations: 122.4 kB / 0.9439 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.9833, allocations: 39.69 kB / 0.944 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007879/0.9841, allocations: 0.638 MB / 0.9446 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9841, allocations: 3.344 kB / 0.9446 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002426/0.9865, allocations: 0.721 MB / 0.9453 GB, free: 119.1 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.0002477/0.9868, allocations: 140 kB / 0.9454 GB, free: 119 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007385/0.9942, allocations: 4.747 MB / 0.9501 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.9942, allocations: 1 kB / 0.9501 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004677/0.9989, allocations: 2.659 MB / 0.9527 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/1, allocations: 221.8 kB / 0.9529 GB, free: 116 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006011/1.006, allocations: 4.944 MB / 0.9577 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.008, allocations: 1.732 MB / 0.9594 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/1.008, allocations: 64.31 kB / 0.9595 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of SimCode: time 7.52e-07/1.008, allocations: 0 / 0.9595 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.04539/1.053, allocations: 59.74 MB / 1.018 GB, free: 58.02 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)