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.001077/0.001082, allocations: 112.5 kB / 16.42 MB, free: 6.449 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.001152/0.001152, allocations: 188.2 kB / 17.35 MB, free: 5.719 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002173/0.002173, allocations: 282.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9578/0.9578, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 96.09 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5256/0.5274, allocations: 86.98 MB / 0.7671 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02601/0.5535, allocations: 22.58 MB / 0.7891 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01337/0.5669, allocations: 6.225 MB / 0.7952 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002686/0.5696, allocations: 91.56 kB / 0.7953 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004754/0.5744, allocations: 1.553 MB / 0.7968 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004989/0.5794, allocations: 1.723 MB / 0.7985 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003707/0.5831, allocations: 1.35 MB / 0.7998 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007276/0.5904, allocations: 5.955 MB / 0.8056 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009529/0.6, allocations: 6.037 MB / 0.8115 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004982/0.605, allocations: 2.454 MB / 0.8139 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006589/0.6116, allocations: 2.862 MB / 0.8167 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002124/0.6138, allocations: 456 kB / 0.8171 GB, free: 312 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004131/0.6179, allocations: 1.104 MB / 0.8182 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004668/0.6226, allocations: 2.027 MB / 0.8202 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005688/0.6283, allocations: 2.163 MB / 0.8223 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.6384, allocations: 7.294 MB / 0.8294 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.6384, allocations: 0 / 0.8294 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6384, allocations: 4 kB / 0.8294 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002509/0.6387, allocations: 0 / 0.8294 GB, free: 3.68 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.01127/0.65, allocations: 3.828 MB / 0.8332 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.6501, allocations: 8.031 kB / 0.8332 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006925/0.657, allocations: 1.202 MB / 0.8344 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005873/0.6629, allocations: 2.34 MB / 0.8367 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.6631, allocations: 246.4 kB / 0.8369 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/0.6644, allocations: 315.9 kB / 0.8372 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.6778, allocations: 6.209 MB / 0.8432 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.678, allocations: 19.86 kB / 0.8433 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009801/0.679, allocations: 136 kB / 0.8434 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005301/0.6795, allocations: 410.3 kB / 0.8438 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008734/0.6883, allocations: 4.662 MB / 0.8483 GB, free: 15.93 MB / 0.6231 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.0334/0.7217, allocations: 28.95 MB / 0.8766 GB, free: 276 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.7238, allocations: 1.42 MB / 0.878 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/0.7258, allocations: 1.48 MB / 0.8794 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.7259, allocations: 16.91 kB / 0.8795 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.726, allocations: 43.56 kB / 0.8795 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.687e-06/0.726, allocations: 4 kB / 0.8795 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=179): time 0.1498/0.8758, allocations: 37.24 MB / 0.9159 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.8759, allocations: 77.41 kB / 0.9159 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.8782, allocations: 1.419 MB / 0.9173 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003324/0.8786, allocations: 57.64 kB / 0.9174 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.8798, allocations: 1.539 MB / 0.9189 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008948/0.8807, allocations: 0.6161 MB / 0.9195 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008693/0.8816, allocations: 379.3 kB / 0.9199 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.8817, allocations: 305.1 kB / 0.9201 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/0.8844, allocations: 1.784 MB / 0.9219 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003372/0.8878, allocations: 2.346 MB / 0.9242 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006437/0.8943, allocations: 4.391 MB / 0.9285 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/0.8943, allocations: 4 kB / 0.9285 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01966/0.914, allocations: 8.574 MB / 0.9368 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.9141, allocations: 12 kB / 0.9369 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/0.9141, allocations: 16 kB / 0.9369 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01518/0.9293, allocations: 4.641 MB / 0.9414 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.9306, allocations: 303.4 kB / 0.9417 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4157/1.346, allocations: 32.58 MB / 0.9735 GB, free: 181.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/1.348, allocations: 151.9 kB / 0.9737 GB, free: 181.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/1.349, allocations: 83.33 kB / 0.9737 GB, free: 181.5 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.001954/1.351, allocations: 1.33 MB / 0.975 GB, free: 180.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/1.351, allocations: 197.1 kB / 0.9752 GB, free: 180.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.367, allocations: 8.443 MB / 0.9835 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/1.367, allocations: 10.12 kB / 0.9835 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.367, allocations: 0 / 0.9835 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.369, allocations: 0.6191 MB / 0.9841 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003489/1.369, allocations: 34.2 kB / 0.9841 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.371, allocations: 122 kB / 0.9842 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005441/1.371, allocations: 289.9 kB / 0.9845 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01487/1.386, allocations: 7.262 MB / 0.9916 GB, free: 176.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006448/1.392, allocations: 6.102 MB / 0.9976 GB, free: 174.3 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001851/1.394, allocations: 1.836 MB / 0.9993 GB, free: 173 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001018/1.395, allocations: 0.9542 MB / 1 GB, free: 172.3 MB / 0.7325 GB Notification: Performance of Backend: time 4.71e-07/1.395, allocations: 3.781 kB / 1 GB, free: 172.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01057/1.406, allocations: 5.23 MB / 1.005 GB, free: 167.6 MB / 0.7325 GB Notification: Performance of SimCode: time 0.008922/1.415, allocations: 7.339 MB / 1.013 GB, free: 160.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.07102/1.486, allocations: 57.96 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)