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.005987/0.005987, allocations: 101.7 kB / 15.73 MB, free: 6.047 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.00132/0.00132, allocations: 197.9 kB / 16.67 MB, free: 5.977 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 287 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.975/0.975, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 99.86 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1809, allocations: 86.97 MB / 0.7664 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.3209/0.5018, allocations: 9.99 MB / 0.7762 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004489/0.5063, allocations: 3.04 MB / 0.7791 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/0.5067, allocations: 40.38 kB / 0.7792 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.5083, allocations: 0.689 MB / 0.7798 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.5095, allocations: 0.723 MB / 0.7805 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.5107, allocations: 0.6401 MB / 0.7812 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002154/0.5129, allocations: 2.741 MB / 0.7838 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.5152, allocations: 2.526 MB / 0.7863 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.5165, allocations: 1.139 MB / 0.7874 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.5178, allocations: 1.384 MB / 0.7888 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.5181, allocations: 217.5 kB / 0.789 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008372/0.5189, allocations: 487.2 kB / 0.7894 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008377/0.5198, allocations: 0.9898 MB / 0.7904 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008467/0.5206, allocations: 1.01 MB / 0.7914 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.5238, allocations: 3.411 MB / 0.7947 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5238, allocations: 1.641 kB / 0.7947 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5238, allocations: 0 / 0.7947 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.868e-05/0.5239, allocations: 1 kB / 0.7947 GB, free: 4.215 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.003332/0.5272, allocations: 1.944 MB / 0.7966 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.5273, allocations: 13.69 kB / 0.7966 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005991/0.5333, allocations: 0.8852 MB / 0.7975 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.5355, allocations: 1.164 MB / 0.7986 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.139e-05/0.5356, allocations: 110 kB / 0.7988 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.5359, allocations: 146.2 kB / 0.7989 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005164/0.541, allocations: 3.018 MB / 0.8018 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/0.5411, allocations: 6.469 kB / 0.8018 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.5413, allocations: 62.75 kB / 0.8019 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002767/0.5416, allocations: 176.8 kB / 0.8021 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/0.5458, allocations: 2.608 MB / 0.8046 GB, free: 40 kB / 0.5606 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.01601/0.5618, allocations: 13.49 MB / 0.8178 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.5637, allocations: 1.302 MB / 0.8191 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.565, allocations: 1.049 MB / 0.8201 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.019e-05/0.5651, allocations: 12.55 kB / 0.8201 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5651, allocations: 42.19 kB / 0.8201 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 3.056e-06/0.5651, allocations: 4 kB / 0.8201 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139): time 0.07741/0.6426, allocations: 19.4 MB / 0.8391 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.6426, allocations: 64.72 kB / 0.8392 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.6438, allocations: 0.9222 MB / 0.8401 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.644, allocations: 45.7 kB / 0.8401 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.6444, allocations: 0.7322 MB / 0.8408 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004146/0.6449, allocations: 485 kB / 0.8413 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005705/0.6455, allocations: 295.4 kB / 0.8416 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6456, allocations: 353.9 kB / 0.8419 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.6475, allocations: 1.335 MB / 0.8432 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.6495, allocations: 1.656 MB / 0.8448 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/0.6535, allocations: 3.094 MB / 0.8478 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.6535, allocations: 4 kB / 0.8478 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01165/0.6652, allocations: 5.631 MB / 0.8533 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.6652, allocations: 15.98 kB / 0.8534 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.6652, allocations: 11.94 kB / 0.8534 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008796/0.674, allocations: 2.712 MB / 0.856 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.6748, allocations: 191.7 kB / 0.8562 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03518/0.71, allocations: 25.7 MB / 0.8813 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.7115, allocations: 99.94 kB / 0.8814 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.7117, allocations: 52 kB / 0.8814 GB, free: 11.79 MB / 0.6387 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.001322/0.713, allocations: 0.7393 MB / 0.8822 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.7133, allocations: 114.8 kB / 0.8823 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.725, allocations: 5.4 MB / 0.8875 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.725, allocations: 16 kB / 0.8876 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.385e-05/0.7251, allocations: 23.94 kB / 0.8876 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.7251, allocations: 3.984 kB / 0.8876 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.741, allocations: 8.689 MB / 0.8961 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.741, allocations: 4 kB / 0.8961 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/0.7415, allocations: 123.8 kB / 0.8962 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008407/0.7499, allocations: 2.594 MB / 0.8987 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.7501, allocations: 24 kB / 0.8988 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03337/0.7834, allocations: 24.15 MB / 0.9223 GB, free: 1.184 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.7835, allocations: 4 kB / 0.9223 GB, free: 1.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.7945, allocations: 5.253 MB / 0.9275 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008365/0.7954, allocations: 491.5 kB / 0.9279 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/0.7957, allocations: 24 kB / 0.928 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7967, allocations: 83.89 kB / 0.928 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/0.7972, allocations: 121 kB / 0.9282 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.7973, allocations: 36 kB / 0.9282 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008474/0.7982, allocations: 0.6434 MB / 0.9288 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7982, allocations: 0 / 0.9288 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002223/0.8004, allocations: 0.7188 MB / 0.9295 GB, free: 9.719 MB / 0.6856 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.0002606/0.8007, allocations: 151 kB / 0.9297 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006905/0.8076, allocations: 4.204 MB / 0.9338 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.8076, allocations: 384 / 0.9338 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005125/0.8128, allocations: 2.708 MB / 0.9364 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.814, allocations: 229.8 kB / 0.9366 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006081/0.8201, allocations: 3.98 MB / 0.9405 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.8217, allocations: 1.7 MB / 0.9422 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006921/0.8224, allocations: 333.4 kB / 0.9425 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.8225, allocations: 55.44 kB / 0.9425 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of SimCode: time 4.01e-07/0.8225, allocations: 0 / 0.9425 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of Templates: time 0.05564/0.8782, allocations: 40.36 MB / 0.982 GB, free: 4 MB / 0.7325 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)