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.001403/0.001403, allocations: 104.2 kB / 16.35 MB, free: 5.824 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.001505/0.001505, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0022/0.0022, allocations: 279.9 kB / 291.4 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.9219/0.9219, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001905, allocations: 96.56 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1505, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.264/0.4146, allocations: 9.996 MB / 0.6914 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004729/0.4193, allocations: 3.046 MB / 0.6943 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007091/0.4201, allocations: 34.5 kB / 0.6944 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.4219, allocations: 0.6798 MB / 0.695 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.4235, allocations: 0.6906 MB / 0.6957 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.4251, allocations: 0.6423 MB / 0.6963 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003084/0.4281, allocations: 2.732 MB / 0.699 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003102/0.4313, allocations: 2.527 MB / 0.7015 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.4331, allocations: 1.132 MB / 0.7026 GB, free: 9.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.4353, allocations: 1.383 MB / 0.7039 GB, free: 9.176 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006786/0.436, allocations: 216 kB / 0.7041 GB, free: 9.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.4375, allocations: 492.9 kB / 0.7046 GB, free: 9.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.439, allocations: 0.9751 MB / 0.7056 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.441, allocations: 1.014 MB / 0.7066 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003673/0.4447, allocations: 3.417 MB / 0.7099 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4447, allocations: 0 / 0.7099 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4447, allocations: 0 / 0.7099 GB, free: 7.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.661e-05/0.4448, allocations: 1 kB / 0.7099 GB, free: 7.023 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.0036/0.4484, allocations: 1.949 MB / 0.7118 GB, free: 5.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.4485, allocations: 9.969 kB / 0.7118 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005568/0.454, allocations: 0.8798 MB / 0.7127 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.4566, allocations: 1.168 MB / 0.7138 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.4567, allocations: 110.7 kB / 0.7139 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/0.4569, allocations: 138.3 kB / 0.714 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004322/0.4613, allocations: 3.022 MB / 0.717 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.4613, allocations: 6.594 kB / 0.717 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.4615, allocations: 63.08 kB / 0.7171 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/0.4617, allocations: 178.4 kB / 0.7172 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003578/0.4653, allocations: 2.607 MB / 0.7198 GB, free: 2.117 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.01537/0.4807, allocations: 13.49 MB / 0.733 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.4825, allocations: 1.292 MB / 0.7342 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/0.4841, allocations: 1.049 MB / 0.7352 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.55e-05/0.4842, allocations: 12.81 kB / 0.7353 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.4843, allocations: 38.78 kB / 0.7353 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 2.805e-06/0.4843, allocations: 0 / 0.7353 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=139): time 0.06918/0.5535, allocations: 19.38 MB / 0.7542 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.5536, allocations: 68.72 kB / 0.7543 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.5548, allocations: 0.9183 MB / 0.7552 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.5549, allocations: 53.7 kB / 0.7552 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.5554, allocations: 0.7244 MB / 0.7559 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003926/0.5558, allocations: 492.9 kB / 0.7564 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000578/0.5564, allocations: 287.5 kB / 0.7567 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5565, allocations: 353.9 kB / 0.757 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.5582, allocations: 1.339 MB / 0.7583 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.5602, allocations: 1.659 MB / 0.7599 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003776/0.564, allocations: 3.09 MB / 0.763 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.564, allocations: 4 kB / 0.763 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01108/0.5751, allocations: 5.631 MB / 0.7685 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.5751, allocations: 8 kB / 0.7685 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.5752, allocations: 15.94 kB / 0.7685 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008564/0.5837, allocations: 2.725 MB / 0.7712 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/0.5845, allocations: 191.7 kB / 0.7713 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03425/0.6188, allocations: 25.7 MB / 0.7964 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.6204, allocations: 95.95 kB / 0.7965 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/0.6207, allocations: 60.11 kB / 0.7966 GB, free: 7.656 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.001453/0.6221, allocations: 0.7315 MB / 0.7973 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/0.6225, allocations: 114.6 kB / 0.7974 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.6334, allocations: 5.396 MB / 0.8027 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.6335, allocations: 12 kB / 0.8027 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.383e-05/0.6335, allocations: 23.98 kB / 0.8027 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.6336, allocations: 3.984 kB / 0.8027 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/0.6501, allocations: 8.63 MB / 0.8111 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.6501, allocations: 4 kB / 0.8111 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.6506, allocations: 116.3 kB / 0.8113 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008185/0.6588, allocations: 2.559 MB / 0.8138 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.659, allocations: 24 kB / 0.8138 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03221/0.6912, allocations: 22.99 MB / 0.8362 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.6913, allocations: 7.938 kB / 0.8362 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/0.702, allocations: 5.128 MB / 0.8412 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/0.7033, allocations: 471.6 kB / 0.8417 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/0.7037, allocations: 28 kB / 0.8417 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.7048, allocations: 79.89 kB / 0.8418 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005324/0.7054, allocations: 121 kB / 0.8419 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.7055, allocations: 36 kB / 0.8419 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009172/0.7064, allocations: 0.6434 MB / 0.8426 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7064, allocations: 0 / 0.8426 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002615/0.7091, allocations: 0.7188 MB / 0.8433 GB, free: 6.996 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.0002905/0.7094, allocations: 144 kB / 0.8434 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00687/0.7162, allocations: 4.18 MB / 0.8475 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.7163, allocations: 4.062 kB / 0.8475 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004883/0.7212, allocations: 2.654 MB / 0.8501 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.7227, allocations: 225.5 kB / 0.8503 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006319/0.729, allocations: 3.893 MB / 0.8541 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.7306, allocations: 1.704 MB / 0.8558 GB, free: 10 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007579/0.7314, allocations: 325.4 kB / 0.8561 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.7316, allocations: 63.42 kB / 0.8561 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.7316, allocations: 0 / 0.8561 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of Templates: time 0.05346/0.7851, allocations: 38.99 MB / 0.8942 GB, free: 2.832 MB / 0.6544 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)