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.001079/0.001079, allocations: 112.6 kB / 16.42 MB, free: 6.445 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.0009813/0.0009813, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.361/1.361, 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.002254/0.002253, allocations: 283.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9665/0.9665, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 92.28 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4683, allocations: 87 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01187/0.4802, allocations: 9.989 MB / 0.7768 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005559/0.4858, allocations: 3.041 MB / 0.7798 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006502/0.4865, allocations: 39.81 kB / 0.7798 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.4884, allocations: 0.6793 MB / 0.7805 GB, free: 6.098 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.4899, allocations: 0.6922 MB / 0.7812 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.4914, allocations: 0.6393 MB / 0.7818 GB, free: 4.762 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002976/0.4943, allocations: 2.742 MB / 0.7845 GB, free: 2.012 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002934/0.4973, allocations: 2.531 MB / 0.787 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.499, allocations: 1.133 MB / 0.7881 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.501, allocations: 1.387 MB / 0.7894 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003228/0.5013, allocations: 216 kB / 0.7896 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009949/0.5023, allocations: 487.4 kB / 0.7901 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009104/0.5032, allocations: 0.9863 MB / 0.7911 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.5042, allocations: 1.015 MB / 0.792 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/0.5075, allocations: 3.403 MB / 0.7954 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5075, allocations: 0 / 0.7954 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5075, allocations: 4 kB / 0.7954 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.864e-05/0.5075, allocations: 0 / 0.7954 GB, free: 6.801 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.003561/0.5111, allocations: 1.951 MB / 0.7973 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5112, allocations: 8.031 kB / 0.7973 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005915/0.5171, allocations: 0.8843 MB / 0.7981 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.519, allocations: 1.161 MB / 0.7993 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.996e-05/0.5191, allocations: 111.2 kB / 0.7994 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.5194, allocations: 152.2 kB / 0.7995 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004697/0.5241, allocations: 3.013 MB / 0.8025 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/0.5241, allocations: 11.94 kB / 0.8025 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.5243, allocations: 55.98 kB / 0.8025 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002295/0.5246, allocations: 175 kB / 0.8027 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004028/0.5286, allocations: 2.608 MB / 0.8053 GB, free: 12.47 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.01683/0.5454, allocations: 13.49 MB / 0.8184 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.5474, allocations: 1.295 MB / 0.8197 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.5489, allocations: 1.048 MB / 0.8207 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.026e-05/0.5489, allocations: 12.64 kB / 0.8207 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.549, allocations: 43.22 kB / 0.8208 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.126e-06/0.549, allocations: 3.938 kB / 0.8208 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=139): time 0.07694/0.6259, allocations: 19.4 MB / 0.8397 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.626, allocations: 72.72 kB / 0.8398 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.6275, allocations: 0.9106 MB / 0.8407 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002522/0.6278, allocations: 45.7 kB / 0.8407 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005223/0.6283, allocations: 0.7283 MB / 0.8414 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005641/0.6289, allocations: 489 kB / 0.8419 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006508/0.6296, allocations: 291.5 kB / 0.8422 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6297, allocations: 357.9 kB / 0.8425 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/0.6317, allocations: 1.335 MB / 0.8438 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/0.6339, allocations: 1.655 MB / 0.8454 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004292/0.6382, allocations: 3.094 MB / 0.8485 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.6382, allocations: 4 kB / 0.8485 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01196/0.6502, allocations: 5.632 MB / 0.854 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.6503, allocations: 8 kB / 0.854 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.6503, allocations: 16.03 kB / 0.854 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009221/0.6595, allocations: 2.713 MB / 0.8566 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/0.6605, allocations: 195.7 kB / 0.8568 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03855/0.699, allocations: 25.71 MB / 0.8819 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.7008, allocations: 92.45 kB / 0.882 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003231/0.7012, allocations: 56 kB / 0.8821 GB, free: 11.64 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.001454/0.7026, allocations: 0.7431 MB / 0.8828 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004137/0.7031, allocations: 114.6 kB / 0.8829 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/0.7149, allocations: 5.388 MB / 0.8882 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/0.715, allocations: 7.969 kB / 0.8882 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.715, allocations: 4 kB / 0.8882 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009856/0.716, allocations: 491.5 kB / 0.8886 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003897/0.7164, allocations: 24 kB / 0.8887 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.7176, allocations: 67.91 kB / 0.8887 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005059/0.7181, allocations: 204.9 kB / 0.8889 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01197/0.73, allocations: 5.252 MB / 0.8941 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006161/0.7363, allocations: 4.49 MB / 0.8984 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001765/0.738, allocations: 1.439 MB / 0.8998 GB, free: 9.328 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009673/0.739, allocations: 0.6434 MB / 0.9005 GB, free: 8.684 MB / 0.67 GB Notification: Performance of Backend: time 5.61e-07/0.739, allocations: 0 / 0.9005 GB, free: 8.684 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007036/0.7461, allocations: 3.241 MB / 0.9036 GB, free: 5.387 MB / 0.67 GB Notification: Performance of SimCode: time 0.006958/0.7531, allocations: 4.365 MB / 0.9079 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of Templates: time 0.05436/0.8075, allocations: 37.89 MB / 0.9449 GB, free: 11.3 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)