Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001675/0.001676, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.325/1.325, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002282/0.002282, allocations: 283 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9463/0.9463, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 90.05 kB / 0.5947 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1414, allocations: 86.98 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02458/0.166, allocations: 23.21 MB / 0.7023 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.177, allocations: 6.449 MB / 0.7086 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.1794, allocations: 83.56 kB / 0.7087 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00423/0.1837, allocations: 1.365 MB / 0.71 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.1881, allocations: 1.697 MB / 0.7117 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.1913, allocations: 1.333 MB / 0.713 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007097/0.1984, allocations: 6.951 MB / 0.7198 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01119/0.2096, allocations: 8.132 MB / 0.7277 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003916/0.2135, allocations: 2.885 MB / 0.7305 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004951/0.2185, allocations: 3.685 MB / 0.7341 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.2197, allocations: 0.5273 MB / 0.7346 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.2224, allocations: 1.178 MB / 0.7358 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002888/0.2253, allocations: 2.472 MB / 0.7382 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003742/0.2291, allocations: 2.536 MB / 0.7407 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007745/0.2368, allocations: 8.515 MB / 0.749 GB, free: 9.785 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2369, allocations: 0 / 0.749 GB, free: 9.785 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2369, allocations: 3.938 kB / 0.749 GB, free: 9.781 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001375/0.237, allocations: 0 / 0.749 GB, free: 9.781 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007865/0.2449, allocations: 4.424 MB / 0.7533 GB, free: 5.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.245, allocations: 8.031 kB / 0.7533 GB, free: 5.281 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007937/0.2529, allocations: 1.681 MB / 0.755 GB, free: 3.594 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004059/0.257, allocations: 2.571 MB / 0.7575 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.2572, allocations: 279.7 kB / 0.7577 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006016/0.2578, allocations: 360.2 kB / 0.7581 GB, free: 352 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.2684, allocations: 7.495 MB / 0.7654 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-05/0.2685, allocations: 11.88 kB / 0.7654 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004011/0.2689, allocations: 155.9 kB / 0.7656 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005169/0.2695, allocations: 487.3 kB / 0.766 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008073/0.2775, allocations: 5.697 MB / 0.7716 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2888/0.5663, allocations: 31.71 MB / 0.8026 GB, free: 62.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.5688, allocations: 2.098 MB / 0.8046 GB, free: 61.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002384/0.5712, allocations: 2.175 MB / 0.8067 GB, free: 61.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.5714, allocations: 19.66 kB / 0.8067 GB, free: 61.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.5714, allocations: 45.16 kB / 0.8068 GB, free: 61.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=146): time 3.627e-06/0.5714, allocations: 4 kB / 0.8068 GB, free: 61.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=251): time 0.2467/0.8181, allocations: 76.99 MB / 0.882 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.8182, allocations: 77.41 kB / 0.8821 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.8206, allocations: 1.67 MB / 0.8837 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003975/0.821, allocations: 65.7 kB / 0.8838 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.8221, allocations: 1.75 MB / 0.8855 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009328/0.8231, allocations: 0.8538 MB / 0.8863 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.8242, allocations: 481.2 kB / 0.8868 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.8243, allocations: 306.5 kB / 0.887 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003604/0.8279, allocations: 2.73 MB / 0.8897 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003913/0.8318, allocations: 3.336 MB / 0.893 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007855/0.8397, allocations: 6.389 MB / 0.8992 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.8397, allocations: 8 kB / 0.8992 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03105/0.8707, allocations: 14.68 MB / 0.9136 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.8708, allocations: 14.34 kB / 0.9136 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.8708, allocations: 24.16 kB / 0.9136 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02902/0.8999, allocations: 9.294 MB / 0.9227 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.9011, allocations: 299.5 kB / 0.9229 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0771/0.9782, allocations: 52.39 MB / 0.9741 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/0.9808, allocations: 215.7 kB / 0.9743 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004165/0.9813, allocations: 104 kB / 0.9744 GB, free: 13.43 MB / 0.67 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002531/0.9838, allocations: 1.58 MB / 0.976 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005857/0.9844, allocations: 241.1 kB / 0.9762 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03127/1.016, allocations: 14.77 MB / 0.9906 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/1.016, allocations: 24 kB / 0.9906 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001137/1.016, allocations: 44 kB / 0.9907 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-05/1.016, allocations: 11.95 kB / 0.9907 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04112/1.057, allocations: 20.52 MB / 1.011 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/1.057, allocations: 8 kB / 1.011 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000745/1.058, allocations: 163.7 kB / 1.011 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02871/1.087, allocations: 9.066 MB / 1.02 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003755/1.087, allocations: 48 kB / 1.02 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3367/1.424, allocations: 51.95 MB / 1.071 GB, free: 237.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.424, allocations: 10.44 kB / 1.071 GB, free: 237.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02865/1.452, allocations: 14.37 MB / 1.085 GB, free: 233.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/1.454, allocations: 0.8452 MB / 1.085 GB, free: 233.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004492/1.454, allocations: 51.72 kB / 1.085 GB, free: 233.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/1.456, allocations: 209.2 kB / 1.086 GB, free: 233.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/1.458, allocations: 241.8 kB / 1.086 GB, free: 233.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002156/1.458, allocations: 63.16 kB / 1.086 GB, free: 233.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001129/1.459, allocations: 1.126 MB / 1.087 GB, free: 232.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.01e-07/1.459, allocations: 0 / 1.087 GB, free: 232.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003605/1.463, allocations: 1.622 MB / 1.089 GB, free: 232.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003631/1.463, allocations: 156.4 kB / 1.089 GB, free: 232.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01965/1.483, allocations: 11.33 MB / 1.1 GB, free: 227.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.483, allocations: 7.688 kB / 1.1 GB, free: 227.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01422/1.497, allocations: 7.302 MB / 1.107 GB, free: 221.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.499, allocations: 0.5665 MB / 1.108 GB, free: 221.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.513, allocations: 10.61 MB / 1.118 GB, free: 210.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003237/1.517, allocations: 3.231 MB / 1.121 GB, free: 207.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0012/1.518, allocations: 393 kB / 1.121 GB, free: 206.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/1.518, allocations: 95.44 kB / 1.122 GB, free: 206.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/1.518, allocations: 4 kB / 1.122 GB, free: 206.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.1023/1.62, allocations: 93.06 MB / 1.212 GB, free: 114.1 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)