Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009317, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009269/0.009269, allocations: 171.2 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 270.9 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9399/0.9399, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006637/0.0006639, allocations: 20.3 kB / 0.5987 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1648, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01183/0.1767, allocations: 11.41 MB / 0.6963 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007367/0.1841, allocations: 5.475 MB / 0.7016 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.1846, allocations: 31.88 kB / 0.7017 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007436/0.1854, allocations: 320 kB / 0.702 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.1864, allocations: 0.5989 MB / 0.7025 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1876, allocations: 0.6823 MB / 0.7032 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002961/0.1905, allocations: 3.769 MB / 0.7069 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005146/0.1957, allocations: 4.34 MB / 0.7111 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.1968, allocations: 0.8212 MB / 0.7119 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.198, allocations: 1.125 MB / 0.713 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.1981, allocations: 100 kB / 0.7131 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007389/0.1989, allocations: 471.2 kB / 0.7136 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005988/0.1995, allocations: 0.7403 MB / 0.7143 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007192/0.2002, allocations: 0.857 MB / 0.7151 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002673/0.2029, allocations: 3.649 MB / 0.7187 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2029, allocations: 4 kB / 0.7187 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2029, allocations: 4 kB / 0.7187 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.086e-05/0.203, allocations: 0 / 0.7187 GB, free: 12.54 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.00289/0.2059, allocations: 1.722 MB / 0.7204 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2059, allocations: 8.031 kB / 0.7204 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002803/0.2087, allocations: 0.7246 MB / 0.7211 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.2104, allocations: 1.189 MB / 0.7223 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-05/0.2105, allocations: 123.6 kB / 0.7224 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/0.2108, allocations: 160.1 kB / 0.7225 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004199/0.215, allocations: 2.944 MB / 0.7254 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.2151, allocations: 4 kB / 0.7254 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.2153, allocations: 67.98 kB / 0.7255 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003266/0.2156, allocations: 167.1 kB / 0.7256 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/0.2192, allocations: 2.499 MB / 0.7281 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.2305, allocations: 10.81 MB / 0.7386 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.2317, allocations: 0.9138 MB / 0.7395 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006449/0.2323, allocations: 0.4973 MB / 0.74 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.2324, allocations: 89.48 kB / 0.7401 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.2325, allocations: 46.86 kB / 0.7401 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=46): time 2.094e-06/0.2325, allocations: 0 / 0.7401 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=70): time 0.02615/0.2586, allocations: 8.002 MB / 0.748 GB, free: 13.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.2587, allocations: 55.97 kB / 0.748 GB, free: 13.31 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.2599, allocations: 0.9298 MB / 0.7489 GB, free: 12.37 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/0.26, allocations: 41.64 kB / 0.749 GB, free: 12.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004652/0.2605, allocations: 0.7736 MB / 0.7497 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.2607, allocations: 248.4 kB / 0.7499 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.2608, allocations: 85.67 kB / 0.75 GB, free: 11.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.261, allocations: 402.7 kB / 0.7504 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.2621, allocations: 0.7755 MB / 0.7512 GB, free: 10.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.2635, allocations: 1.143 MB / 0.7523 GB, free: 8.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.266, allocations: 1.962 MB / 0.7542 GB, free: 6.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.266, allocations: 0 / 0.7542 GB, free: 6.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01006/0.2761, allocations: 3.678 MB / 0.7578 GB, free: 2.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002743/0.2764, allocations: 421.1 kB / 0.7582 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.2764, allocations: 12 kB / 0.7582 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008733/0.2852, allocations: 2.001 MB / 0.7602 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/0.2861, allocations: 231.6 kB / 0.7604 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/0.3014, allocations: 9.885 MB / 0.77 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.3028, allocations: 175.7 kB / 0.7702 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/0.3029, allocations: 51.92 kB / 0.7703 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.3029, allocations: 5.875 kB / 0.7703 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007744/0.3106, allocations: 3.013 MB / 0.7732 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.3107, allocations: 12 kB / 0.7732 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005533/0.3162, allocations: 1.291 MB / 0.7745 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.3173, allocations: 275.5 kB / 0.7747 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2988/0.6162, allocations: 5.992 MB / 0.7806 GB, free: 85.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.6174, allocations: 157.8 kB / 0.7807 GB, free: 84.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.236e-05/0.6175, allocations: 44.81 kB / 0.7808 GB, free: 84.98 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001197/0.6187, allocations: 0.8966 MB / 0.7817 GB, free: 84.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.6189, allocations: 86.06 kB / 0.7817 GB, free: 84.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008948/0.6279, allocations: 3.208 MB / 0.7849 GB, free: 83.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.6279, allocations: 6.969 kB / 0.7849 GB, free: 83.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.6279, allocations: 7.453 kB / 0.7849 GB, free: 83.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.6279, allocations: 12.42 kB / 0.7849 GB, free: 83.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.6392, allocations: 5.324 MB / 0.7901 GB, free: 81.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.6393, allocations: 2.156 kB / 0.7901 GB, free: 81.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.6397, allocations: 107.8 kB / 0.7902 GB, free: 81.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006966/0.6467, allocations: 1.82 MB / 0.792 GB, free: 81.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/0.6468, allocations: 18.5 kB / 0.792 GB, free: 81.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/0.6587, allocations: 9.301 MB / 0.8011 GB, free: 76.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.6588, allocations: 6.031 kB / 0.8011 GB, free: 76.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008029/0.6668, allocations: 3.096 MB / 0.8041 GB, free: 75.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005411/0.6674, allocations: 326 kB / 0.8044 GB, free: 75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.6675, allocations: 16.88 kB / 0.8044 GB, free: 74.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008594/0.6684, allocations: 134.8 kB / 0.8046 GB, free: 74.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/0.6687, allocations: 71.44 kB / 0.8046 GB, free: 74.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.6687, allocations: 20.12 kB / 0.8047 GB, free: 74.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008306/0.6696, allocations: 0.6618 MB / 0.8053 GB, free: 74.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6696, allocations: 3.828 kB / 0.8053 GB, free: 74.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00223/0.6718, allocations: 0.6875 MB / 0.806 GB, free: 74.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001986/0.672, allocations: 126.8 kB / 0.8061 GB, free: 74.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006859/0.6789, allocations: 3.809 MB / 0.8098 GB, free: 72.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/0.6789, allocations: 0 / 0.8098 GB, free: 72.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.6808, allocations: 1.243 MB / 0.811 GB, free: 71.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.6822, allocations: 345.5 kB / 0.8114 GB, free: 71.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/0.6867, allocations: 4.192 MB / 0.8155 GB, free: 68.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.6879, allocations: 1.724 MB / 0.8171 GB, free: 67.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001151/0.689, allocations: 0.5105 MB / 0.8176 GB, free: 67.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.6892, allocations: 64.22 kB / 0.8177 GB, free: 67.23 MB / 0.5606 GB Notification: Performance of SimCode: time 6.82e-07/0.6892, allocations: 0 / 0.8177 GB, free: 67.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.03502/0.7243, allocations: 31.15 MB / 0.8481 GB, free: 38.54 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)