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.001387/0.001387, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001589/0.001588, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.386/1.386, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002157/0.002157, allocations: 289.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9585/0.9585, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 96.27 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4268, allocations: 86.97 MB / 0.7671 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01192/0.4388, allocations: 10 MB / 0.7768 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005264/0.4441, allocations: 3.037 MB / 0.7798 GB, free: 6.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007409/0.4449, allocations: 39.81 kB / 0.7798 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.4468, allocations: 0.6792 MB / 0.7805 GB, free: 6.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.4485, allocations: 0.7313 MB / 0.7812 GB, free: 5.285 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.4499, allocations: 0.6315 MB / 0.7818 GB, free: 4.652 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002777/0.4527, allocations: 2.746 MB / 0.7845 GB, free: 1.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003126/0.4558, allocations: 2.531 MB / 0.787 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.4574, allocations: 1.137 MB / 0.7881 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.4595, allocations: 1.387 MB / 0.7895 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005163/0.46, allocations: 216 kB / 0.7897 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.4611, allocations: 491.4 kB / 0.7901 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.4624, allocations: 0.9785 MB / 0.7911 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.464, allocations: 1.019 MB / 0.7921 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.4673, allocations: 3.407 MB / 0.7954 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4673, allocations: 0 / 0.7954 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4673, allocations: 0 / 0.7954 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.95e-05/0.4674, allocations: 0 / 0.7954 GB, free: 6.684 MB / 0.5606 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.004188/0.4716, allocations: 1.951 MB / 0.7973 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4717, allocations: 8.031 kB / 0.7973 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/0.4776, allocations: 0.8844 MB / 0.7982 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.48, allocations: 1.161 MB / 0.7993 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/0.4801, allocations: 107.3 kB / 0.7994 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003437/0.4805, allocations: 148.2 kB / 0.7996 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005282/0.4858, allocations: 3.02 MB / 0.8025 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/0.4858, allocations: 0 / 0.8025 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/0.4861, allocations: 71.95 kB / 0.8026 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002608/0.4863, allocations: 178.9 kB / 0.8027 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004372/0.4907, allocations: 2.604 MB / 0.8053 GB, free: 12.36 MB / 0.5762 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.01635/0.5071, allocations: 13.48 MB / 0.8185 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.509, allocations: 1.292 MB / 0.8197 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.5107, allocations: 1.05 MB / 0.8207 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.611e-05/0.5108, allocations: 12.64 kB / 0.8208 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.5108, allocations: 43.16 kB / 0.8208 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.836e-06/0.5109, allocations: 0 / 0.8208 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=139): time 0.07615/0.587, allocations: 19.41 MB / 0.8398 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.5871, allocations: 68.72 kB / 0.8398 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.5885, allocations: 0.9106 MB / 0.8407 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.5886, allocations: 49.7 kB / 0.8408 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/0.5891, allocations: 0.7283 MB / 0.8415 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004443/0.5896, allocations: 485 kB / 0.8419 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006271/0.5902, allocations: 291.4 kB / 0.8422 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.5904, allocations: 361.9 kB / 0.8426 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.5923, allocations: 1.339 MB / 0.8439 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.5944, allocations: 1.655 MB / 0.8455 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00394/0.5984, allocations: 3.082 MB / 0.8485 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.5984, allocations: 8 kB / 0.8485 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01154/0.6099, allocations: 5.632 MB / 0.854 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.61, allocations: 15.98 kB / 0.854 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.61, allocations: 12 kB / 0.854 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009015/0.619, allocations: 2.717 MB / 0.8567 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/0.6199, allocations: 195.7 kB / 0.8569 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03741/0.6573, allocations: 25.71 MB / 0.882 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.6589, allocations: 99.94 kB / 0.8821 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/0.6592, allocations: 52 kB / 0.8821 GB, free: 11.52 MB / 0.6544 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.001263/0.6604, allocations: 0.7393 MB / 0.8828 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.6607, allocations: 114.6 kB / 0.8829 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/0.6727, allocations: 5.392 MB / 0.8882 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/0.6727, allocations: 7.984 kB / 0.8882 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.6727, allocations: 0 / 0.8882 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.6739, allocations: 487.6 kB / 0.8887 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/0.6743, allocations: 20 kB / 0.8887 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.6753, allocations: 75.91 kB / 0.8888 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004262/0.6757, allocations: 204.8 kB / 0.889 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0119/0.6876, allocations: 5.256 MB / 0.8941 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005935/0.6936, allocations: 4.483 MB / 0.8985 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001788/0.6954, allocations: 1.439 MB / 0.8999 GB, free: 9.215 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009344/0.6964, allocations: 0.6473 MB / 0.9005 GB, free: 8.566 MB / 0.67 GB Notification: Performance of Backend: time 6.91e-07/0.6964, allocations: 0 / 0.9005 GB, free: 8.566 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006955/0.7034, allocations: 3.245 MB / 0.9037 GB, free: 5.27 MB / 0.67 GB Notification: Performance of SimCode: time 0.007032/0.7104, allocations: 4.357 MB / 0.9079 GB, free: 0.875 MB / 0.67 GB Notification: Performance of Templates: time 0.05362/0.7641, allocations: 37.89 MB / 0.9449 GB, free: 11.18 MB / 0.7169 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)