Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007808/0.0007808, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009784/0.001759, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002402, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.975/0.975, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08132/1.056, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.817/1.817, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4328/2.25, allocations: 127.1 MB / 0.7435 GB, free: 4.523 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7448 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.419e-05, allocations: 5.125 kB / 0.7448 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.01589/0.0159, allocations: 21.69 MB / 0.766 GB, free: 13.47 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.02636, allocations: 6.579 MB / 0.7724 GB, free: 6.93 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.02845, allocations: 202.6 kB / 0.7726 GB, free: 6.73 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.03006, allocations: 0.971 MB / 0.7736 GB, free: 5.754 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.03339, allocations: 2.49 MB / 0.776 GB, free: 3.266 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.0362, allocations: 1.843 MB / 0.7778 GB, free: 1.426 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.007822/0.04402, allocations: 10.67 MB / 0.7882 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005826/0.04985, allocations: 6.332 MB / 0.7944 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006482/0.05633, allocations: 6.496 MB / 0.8008 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004726/0.06105, allocations: 5.099 MB / 0.8057 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0009509/0.062, allocations: 0.8203 MB / 0.8065 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.06337, allocations: 0.9022 MB / 0.8074 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.00194/0.06531, allocations: 3.232 MB / 0.8106 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.06725, allocations: 2.188 MB / 0.8127 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.07127, allocations: 6.082 MB / 0.8186 GB, free: 7.359 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.301e-05/0.07128, allocations: 4.688 kB / 0.8187 GB, free: 7.355 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.433e-06/0.07128, allocations: 0 / 0.8187 GB, free: 7.355 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001061/0.07139, allocations: 1.5 kB / 0.8187 GB, free: 7.355 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.006715/0.0781, allocations: 7.342 MB / 0.8258 GB, free: 15.97 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.07813, allocations: 12.03 kB / 0.8258 GB, free: 15.96 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.08056, allocations: 1.406 MB / 0.8272 GB, free: 14.54 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.08357, allocations: 2.8 MB / 0.8299 GB, free: 11.7 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.08377, allocations: 423.8 kB / 0.8303 GB, free: 11.29 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005342/0.0843, allocations: 0.5589 MB / 0.8309 GB, free: 10.73 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005198/0.0895, allocations: 5.725 MB / 0.8365 GB, free: 4.449 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.783e-05/0.08959, allocations: 20 kB / 0.8365 GB, free: 4.43 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003706/0.08996, allocations: 252.3 kB / 0.8367 GB, free: 4.184 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003331/0.09029, allocations: 410.9 kB / 0.8371 GB, free: 3.781 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.09238, allocations: 1.486 MB / 0.8386 GB, free: 2.301 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.108, allocations: 20.31 MB / 0.8584 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.1095, allocations: 1.261 MB / 0.8596 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008068/0.1103, allocations: 0.7391 MB / 0.8604 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.763e-05/0.1104, allocations: 38 kB / 0.8604 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.1104, allocations: 60.56 kB / 0.8605 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=209): time 3.827e-06/0.1104, allocations: 0 / 0.8605 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=212): time 0.009462/0.1199, allocations: 5.018 MB / 0.8654 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1199, allocations: 77.41 kB / 0.8654 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.1209, allocations: 1.559 MB / 0.867 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.24e-05/0.121, allocations: 69.69 kB / 0.867 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009984/0.122, allocations: 2.195 MB / 0.8692 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.1224, allocations: 0.7589 MB / 0.8699 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004202/0.1228, allocations: 457.2 kB / 0.8703 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.1229, allocations: 305.1 kB / 0.8706 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.1232, allocations: 285.2 kB / 0.8709 GB, free: 472 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006847/0.1239, allocations: 1.022 MB / 0.8719 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.1252, allocations: 1.658 MB / 0.8735 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.1252, allocations: 4 kB / 0.8735 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.002529/0.1277, allocations: 2.107 MB / 0.8756 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1278, allocations: 19.98 kB / 0.8756 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.1278, allocations: 20 kB / 0.8756 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/0.1297, allocations: 1.07 MB / 0.8767 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008785/0.1306, allocations: 463.3 kB / 0.8771 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007688/0.1383, allocations: 9.324 MB / 0.8862 GB, free: 15.74 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/0.1393, allocations: 72 kB / 0.8863 GB, free: 15.67 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.1394, allocations: 88 kB / 0.8864 GB, free: 15.59 MB / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001015/0.1404, allocations: 272 kB / 0.8866 GB, free: 15.31 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.1406, allocations: 247.7 kB / 0.8869 GB, free: 15.07 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.1429, allocations: 1.766 MB / 0.8886 GB, free: 13.27 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.1429, allocations: 20 kB / 0.8886 GB, free: 13.25 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.1429, allocations: 16 kB / 0.8886 GB, free: 13.23 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.1429, allocations: 19.89 kB / 0.8886 GB, free: 13.21 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/0.1478, allocations: 3.873 MB / 0.8924 GB, free: 9.238 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.1478, allocations: 4 kB / 0.8924 GB, free: 9.234 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.1483, allocations: 216.3 kB / 0.8926 GB, free: 9.023 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/0.1488, allocations: 398.2 kB / 0.893 GB, free: 8.633 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.1506, allocations: 1.007 MB / 0.894 GB, free: 7.613 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.816e-05/0.1507, allocations: 43.97 kB / 0.894 GB, free: 7.57 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007494/0.1582, allocations: 9.3 MB / 0.9031 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1582, allocations: 7.938 kB / 0.9031 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.1603, allocations: 1.916 MB / 0.905 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.1605, allocations: 48 kB / 0.905 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/0.161, allocations: 43.94 kB / 0.9051 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.1613, allocations: 193.5 kB / 0.9053 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-05/0.1613, allocations: 40 kB / 0.9053 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005254/0.1619, allocations: 0.7623 MB / 0.9061 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1619, allocations: 0 / 0.9061 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002192/0.164, allocations: 1.18 MB / 0.9072 GB, free: 9.586 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002147/0.1643, allocations: 152.2 kB / 0.9074 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002718/0.167, allocations: 2.572 MB / 0.9099 GB, free: 6.809 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.256e-05/0.167, allocations: 57.67 kB / 0.9099 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.1688, allocations: 1.98 MB / 0.9119 GB, free: 4.723 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003731/0.1726, allocations: 8.355 MB / 0.92 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03795/0.2105, allocations: 9.048 MB / 0.9288 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.212, allocations: 1.4 MB / 0.9302 GB, free: 60 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001119/0.2131, allocations: 311.6 kB / 0.9305 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.2142, allocations: 0.7021 MB / 0.9312 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of SimCode: time 1.563e-06/0.2142, allocations: 0 / 0.9312 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of Templates: time 0.06475/0.2789, allocations: 57.66 MB / 0.9875 GB, free: 6.41 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.673125667497516]