Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 112.4 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.001669/0.001669, allocations: 185.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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002295/0.002295, allocations: 297.8 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.9752/0.9752, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 95.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3967, allocations: 86.98 MB / 0.7671 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02509/0.4218, allocations: 22.58 MB / 0.7891 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.4332, allocations: 6.221 MB / 0.7952 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.4351, allocations: 99.5 kB / 0.7953 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004459/0.4396, allocations: 1.544 MB / 0.7968 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004255/0.4439, allocations: 1.622 MB / 0.7984 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.4475, allocations: 1.353 MB / 0.7997 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006994/0.4545, allocations: 5.943 MB / 0.8055 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008226/0.4628, allocations: 6.041 MB / 0.8114 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.4664, allocations: 2.45 MB / 0.8138 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004328/0.4708, allocations: 2.866 MB / 0.8166 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.472, allocations: 464 kB / 0.817 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.4747, allocations: 1.096 MB / 0.8181 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002623/0.4773, allocations: 2.031 MB / 0.8201 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0037/0.481, allocations: 2.159 MB / 0.8222 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008515/0.4896, allocations: 7.302 MB / 0.8293 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4896, allocations: 7.938 kB / 0.8293 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4896, allocations: 0 / 0.8293 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002039/0.4898, allocations: 0 / 0.8293 GB, free: 3.773 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008604/0.4984, allocations: 3.816 MB / 0.8331 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4985, allocations: 12.03 kB / 0.8331 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006543/0.505, allocations: 1.206 MB / 0.8343 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004242/0.5093, allocations: 2.34 MB / 0.8365 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.5095, allocations: 242.4 kB / 0.8368 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000649/0.5101, allocations: 312 kB / 0.8371 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.5203, allocations: 6.216 MB / 0.8431 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-05/0.5204, allocations: 7.938 kB / 0.8432 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003771/0.5208, allocations: 139.9 kB / 0.8433 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004673/0.5213, allocations: 410.3 kB / 0.8437 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007432/0.5287, allocations: 4.662 MB / 0.8482 GB, free: 40 kB / 0.6075 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.02809/0.5568, allocations: 28.95 MB / 0.8765 GB, free: 384 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.5587, allocations: 1.419 MB / 0.8779 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.5605, allocations: 1.487 MB / 0.8793 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.387e-05/0.5606, allocations: 13 kB / 0.8794 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.5607, allocations: 47.56 kB / 0.8794 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.046e-06/0.5607, allocations: 0 / 0.8794 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=179): time 0.1541/0.7148, allocations: 37.24 MB / 0.9158 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.7148, allocations: 73.34 kB / 0.9158 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.7169, allocations: 1.427 MB / 0.9172 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.7172, allocations: 53.7 kB / 0.9173 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.7182, allocations: 1.538 MB / 0.9188 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006402/0.7189, allocations: 0.6123 MB / 0.9194 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007708/0.7196, allocations: 383.3 kB / 0.9197 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.7197, allocations: 301.1 kB / 0.92 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/0.7223, allocations: 1.788 MB / 0.9218 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/0.7253, allocations: 2.35 MB / 0.9241 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005855/0.7312, allocations: 4.383 MB / 0.9284 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/0.7312, allocations: 4 kB / 0.9284 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01886/0.7501, allocations: 8.57 MB / 0.9367 GB, free: 2 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.095e-05/0.7502, allocations: 12.94 kB / 0.9367 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.791e-05/0.7502, allocations: 16 kB / 0.9368 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01561/0.7658, allocations: 4.64 MB / 0.9413 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.7671, allocations: 307.5 kB / 0.9416 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4721/1.239, allocations: 32.57 MB / 0.9734 GB, free: 181.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/1.242, allocations: 152.9 kB / 0.9735 GB, free: 181.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/1.242, allocations: 81.5 kB / 0.9736 GB, free: 181.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002167/1.244, allocations: 1.331 MB / 0.9749 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/1.245, allocations: 198.9 kB / 0.9751 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/1.261, allocations: 8.444 MB / 0.9834 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/1.261, allocations: 15.52 kB / 0.9834 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.261, allocations: 0 / 0.9834 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.263, allocations: 0.6142 MB / 0.984 GB, free: 177.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/1.263, allocations: 34.89 kB / 0.984 GB, free: 177.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/1.264, allocations: 125.5 kB / 0.9841 GB, free: 177.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005269/1.265, allocations: 284.5 kB / 0.9844 GB, free: 177.8 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01464/1.28, allocations: 7.264 MB / 0.9915 GB, free: 176.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006319/1.286, allocations: 6.109 MB / 0.9975 GB, free: 174.1 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001782/1.288, allocations: 1.834 MB / 0.9992 GB, free: 173 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001006/1.289, allocations: 0.9542 MB / 1 GB, free: 172.2 MB / 0.7325 GB Notification: Performance of Backend: time 4.71e-07/1.289, allocations: 0 / 1 GB, free: 172.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.299, allocations: 5.233 MB / 1.005 GB, free: 167.7 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01061/1.31, allocations: 7.333 MB / 1.012 GB, free: 160.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.06902/1.379, allocations: 57.95 MB / 1.069 GB, free: 102.8 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)