Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001073/0.001073, allocations: 107.3 kB / 15.99 MB, free: 5.91 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.001084/0.001084, allocations: 188.5 kB / 16.9 MB, free: 5.758 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.249/1.249, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002322/0.002322, allocations: 281 kB / 291 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.913/0.913, allocations: 169.2 MB / 0.4985 GB, free: 4.641 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 93.27 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.149, allocations: 86.98 MB / 0.6803 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.274/0.423, allocations: 9.955 MB / 0.69 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004482/0.4276, allocations: 3.025 MB / 0.693 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000523/0.4281, allocations: 35.16 kB / 0.693 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.4297, allocations: 0.6207 MB / 0.6936 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.4311, allocations: 0.6485 MB / 0.6942 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.4325, allocations: 0.5842 MB / 0.6948 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002867/0.4354, allocations: 2.745 MB / 0.6975 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004198/0.4396, allocations: 3.063 MB / 0.7005 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.4417, allocations: 1.143 MB / 0.7016 GB, free: 9.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/0.4439, allocations: 1.471 MB / 0.703 GB, free: 9.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003877/0.4443, allocations: 216.8 kB / 0.7032 GB, free: 9.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.4455, allocations: 488.6 kB / 0.7037 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.4466, allocations: 0.9851 MB / 0.7047 GB, free: 8.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.4477, allocations: 1.011 MB / 0.7057 GB, free: 8.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003453/0.4512, allocations: 2.888 MB / 0.7085 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4512, allocations: 0 / 0.7085 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4512, allocations: 0.875 kB / 0.7085 GB, free: 7.492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.052e-05/0.4513, allocations: 0 / 0.7085 GB, free: 7.492 MB / 494.1 MB 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.00403/0.4554, allocations: 1.944 MB / 0.7104 GB, free: 6.297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4554, allocations: 13.22 kB / 0.7104 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005544/0.461, allocations: 0.8848 MB / 0.7112 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.4632, allocations: 1.118 MB / 0.7123 GB, free: 5.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/0.4633, allocations: 114.2 kB / 0.7124 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003849/0.4637, allocations: 143.8 kB / 0.7126 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004825/0.4686, allocations: 3.022 MB / 0.7155 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.4686, allocations: 10.12 kB / 0.7155 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.4688, allocations: 62.02 kB / 0.7156 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000201/0.469, allocations: 174.3 kB / 0.7158 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003765/0.4728, allocations: 2.608 MB / 0.7183 GB, free: 2.828 MB / 494.1 MB 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.01535/0.4882, allocations: 13.56 MB / 0.7316 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.4901, allocations: 1.296 MB / 0.7328 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.4915, allocations: 1.055 MB / 0.7339 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.784e-05/0.4916, allocations: 12.56 kB / 0.7339 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.4916, allocations: 38.78 kB / 0.7339 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 3.075e-06/0.4916, allocations: 0 / 0.7339 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=139): time 0.06767/0.5593, allocations: 19.39 MB / 0.7528 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.5594, allocations: 64.72 kB / 0.7529 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.5608, allocations: 0.9222 MB / 0.7538 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002423/0.5611, allocations: 45.7 kB / 0.7538 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.5616, allocations: 0.7283 MB / 0.7546 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005448/0.5621, allocations: 485 kB / 0.755 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006806/0.5628, allocations: 303.3 kB / 0.7553 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.563, allocations: 353.9 kB / 0.7556 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.5649, allocations: 1.335 MB / 0.7569 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.5671, allocations: 1.656 MB / 0.7586 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/0.5711, allocations: 3.089 MB / 0.7616 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.5711, allocations: 7.938 kB / 0.7616 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01153/0.5827, allocations: 5.629 MB / 0.7671 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.5827, allocations: 12 kB / 0.7671 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.5828, allocations: 11.94 kB / 0.7671 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008854/0.5916, allocations: 2.736 MB / 0.7698 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008753/0.5925, allocations: 191.6 kB / 0.77 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03586/0.6284, allocations: 25.73 MB / 0.7951 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.63, allocations: 99.94 kB / 0.7952 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/0.6304, allocations: 52 kB / 0.7952 GB, free: 8.582 MB / 0.5606 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.001506/0.6319, allocations: 0.7354 MB / 0.796 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.6322, allocations: 114.6 kB / 0.7961 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.6432, allocations: 5.404 MB / 0.8013 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.6433, allocations: 15.94 kB / 0.8014 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-05/0.6433, allocations: 23.94 kB / 0.8014 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.6433, allocations: 4.484 kB / 0.8014 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/0.66, allocations: 8.633 MB / 0.8098 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.66, allocations: 4 kB / 0.8098 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.6605, allocations: 127.8 kB / 0.8099 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008477/0.669, allocations: 2.559 MB / 0.8124 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/0.6692, allocations: 31.94 kB / 0.8125 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03256/0.7018, allocations: 23 MB / 0.8349 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.7018, allocations: 4 kB / 0.8349 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.7126, allocations: 5.138 MB / 0.84 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009072/0.7136, allocations: 479.5 kB / 0.8404 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00035/0.7139, allocations: 28 kB / 0.8404 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.715, allocations: 75.89 kB / 0.8405 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005096/0.7155, allocations: 121 kB / 0.8406 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.7156, allocations: 40 kB / 0.8407 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009619/0.7166, allocations: 0.6434 MB / 0.8413 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7166, allocations: 4 kB / 0.8413 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002615/0.7192, allocations: 0.7188 MB / 0.842 GB, free: 7.852 MB / 0.6075 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.0002944/0.7195, allocations: 135.1 kB / 0.8421 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007727/0.7273, allocations: 4.747 MB / 0.8468 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7273, allocations: 0 / 0.8468 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004855/0.7322, allocations: 2.658 MB / 0.8494 GB, free: 208 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.7337, allocations: 222 kB / 0.8496 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007588/0.7413, allocations: 4.937 MB / 0.8544 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/0.7429, allocations: 1.735 MB / 0.8561 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.7432, allocations: 67.42 kB / 0.8561 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of SimCode: time 7.51e-07/0.7432, allocations: 0 / 0.8561 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of Templates: time 0.05695/0.8001, allocations: 59.75 MB / 0.9145 GB, free: 13.43 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)