Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.296/2.296, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 193.5 kB / 499.1 MB, free: 4.637 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 107.7 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 50.3 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2906, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009141/0.2997, allocations: 9.974 MB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.004539/0.3043, allocations: 3.045 MB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007404/0.3051, allocations: 35.88 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.3066, allocations: 0.6223 MB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.3079, allocations: 0.6653 MB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3091, allocations: 0.5773 MB / 1.233 GB, free: 102.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002748/0.3119, allocations: 4.084 MB / 1.237 GB, free: 98.12 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003578/0.3155, allocations: 2.812 MB / 1.239 GB, free: 95.27 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.3173, allocations: 0.9654 MB / 1.24 GB, free: 94.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.3193, allocations: 1.43 MB / 1.242 GB, free: 92.87 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003721/0.3197, allocations: 148 kB / 1.242 GB, free: 92.72 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.3209, allocations: 0.4914 MB / 1.242 GB, free: 92.23 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008588/0.3218, allocations: 0.9199 MB / 1.243 GB, free: 91.31 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.3228, allocations: 0.9372 MB / 1.244 GB, free: 90.37 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.3253, allocations: 3.357 MB / 1.247 GB, free: 87 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3253, allocations: 0 / 1.247 GB, free: 87 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3253, allocations: 0 / 1.247 GB, free: 87 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.579e-05/0.3254, allocations: 0 / 1.247 GB, free: 87 MB / 0.823 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.003176/0.3286, allocations: 1.94 MB / 1.249 GB, free: 85 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.3286, allocations: 19.92 kB / 1.249 GB, free: 84.98 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005282/0.3339, allocations: 0.8883 MB / 1.25 GB, free: 84.09 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.3365, allocations: 1.118 MB / 1.251 GB, free: 82.93 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/0.3366, allocations: 111.3 kB / 1.251 GB, free: 82.82 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.3369, allocations: 140.3 kB / 1.252 GB, free: 82.68 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/0.3408, allocations: 3.013 MB / 1.255 GB, free: 79.57 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.3408, allocations: 7.938 kB / 1.255 GB, free: 79.56 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.341, allocations: 67.97 kB / 1.255 GB, free: 79.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001819/0.3412, allocations: 179 kB / 1.255 GB, free: 79.32 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/0.3443, allocations: 2.6 MB / 1.257 GB, free: 76.71 MB / 0.823 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.01318/0.3575, allocations: 13.57 MB / 1.271 GB, free: 62.05 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.3591, allocations: 1.295 MB / 1.272 GB, free: 60.74 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.3601, allocations: 1.05 MB / 1.273 GB, free: 59.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-05/0.3602, allocations: 12.66 kB / 1.273 GB, free: 59.67 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3602, allocations: 39.22 kB / 1.273 GB, free: 59.62 MB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 3.556e-06/0.3602, allocations: 0 / 1.273 GB, free: 59.62 MB / 0.823 GB Notification: Performance of matching and sorting (n=139): time 0.06597/0.4262, allocations: 19.38 MB / 1.292 GB, free: 40.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.4263, allocations: 72.72 kB / 1.292 GB, free: 40.02 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.4274, allocations: 0.9183 MB / 1.293 GB, free: 39.09 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.4275, allocations: 53.7 kB / 1.293 GB, free: 39.03 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.4278, allocations: 0.7243 MB / 1.294 GB, free: 38.29 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.4281, allocations: 485 kB / 1.294 GB, free: 37.81 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004917/0.4286, allocations: 299.3 kB / 1.294 GB, free: 37.51 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.4287, allocations: 357.9 kB / 1.295 GB, free: 37.16 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.43, allocations: 1.335 MB / 1.296 GB, free: 35.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.4315, allocations: 1.671 MB / 1.298 GB, free: 34.04 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.4344, allocations: 3.085 MB / 1.301 GB, free: 30.84 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4344, allocations: 0 / 1.301 GB, free: 30.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.009736/0.4442, allocations: 5.632 MB / 1.306 GB, free: 25.18 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.4442, allocations: 13.08 kB / 1.306 GB, free: 25.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.4443, allocations: 11.94 kB / 1.306 GB, free: 25.15 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00789/0.4522, allocations: 2.72 MB / 1.309 GB, free: 22.42 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007701/0.453, allocations: 191.7 kB / 1.309 GB, free: 22.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0266/0.4796, allocations: 23.35 MB / 1.332 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.4812, allocations: 95.95 kB / 1.332 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.4813, allocations: 59.98 kB / 1.332 GB, free: 14.18 MB / 0.8386 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.001138/0.4825, allocations: 0.7354 MB / 1.333 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.4827, allocations: 122.6 kB / 1.333 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.4939, allocations: 5.388 MB / 1.338 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.494, allocations: 16 kB / 1.338 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.834e-05/0.494, allocations: 23.94 kB / 1.338 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/0.4941, allocations: 7.969 kB / 1.338 GB, free: 7.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/0.5112, allocations: 8.636 MB / 1.346 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.5112, allocations: 4 kB / 1.346 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.5116, allocations: 115.8 kB / 1.347 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008278/0.5199, allocations: 2.547 MB / 1.349 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.5201, allocations: 28 kB / 1.349 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02978/0.5499, allocations: 20.89 MB / 1.37 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.55, allocations: 7.984 kB / 1.37 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/0.564, allocations: 7.746 MB / 1.377 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.5655, allocations: 471.6 kB / 1.378 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000344/0.5658, allocations: 31.94 kB / 1.378 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.567, allocations: 75.89 kB / 1.378 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006286/0.5677, allocations: 129 kB / 1.378 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.5678, allocations: 32 kB / 1.378 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009949/0.5688, allocations: 0.6473 MB / 1.378 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5688, allocations: 0 / 1.378 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002729/0.5715, allocations: 0.7227 MB / 1.379 GB, free: 12.96 MB / 0.8855 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.0002885/0.5718, allocations: 136.4 kB / 1.379 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008406/0.5803, allocations: 4.165 MB / 1.383 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.5803, allocations: 0 / 1.383 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006569/0.5869, allocations: 2.65 MB / 1.386 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.5891, allocations: 198.7 kB / 1.386 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009293/0.5984, allocations: 5.531 MB / 1.391 GB, free: 104 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002266/0.6007, allocations: 1.759 MB / 1.393 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008966/0.6017, allocations: 325.4 kB / 1.394 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.6019, allocations: 63.42 kB / 1.394 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of SimCode: time 7.02e-07/0.6019, allocations: 0 / 1.394 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of Templates: time 0.5265/1.128, allocations: 39.53 MB / 1.432 GB, free: 188.3 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)