Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 188.1 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 71.75 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2807, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04577/0.3265, allocations: 37.79 MB / 0.821 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02209/0.3486, allocations: 11.09 MB / 0.8319 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004587/0.3533, allocations: 159.2 kB / 0.832 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01118/0.3645, allocations: 4.354 MB / 0.8363 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008201/0.3728, allocations: 2.211 MB / 0.8384 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006829/0.3796, allocations: 2.17 MB / 0.8406 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01555/0.3952, allocations: 9.272 MB / 0.8496 GB, free: 9.477 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02051/0.4158, allocations: 11.27 MB / 0.8606 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007655/0.4235, allocations: 3.996 MB / 0.8645 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008572/0.4321, allocations: 4.506 MB / 0.8689 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003327/0.4354, allocations: 0.8242 MB / 0.8697 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005392/0.4408, allocations: 1.584 MB / 0.8713 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005801/0.4467, allocations: 3.154 MB / 0.8743 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01042/0.4571, allocations: 3.657 MB / 0.8779 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02197/0.4791, allocations: 12.3 MB / 0.8899 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.787e-05/0.4792, allocations: 8 kB / 0.8899 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.188e-06/0.4792, allocations: 0 / 0.8899 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0009341/0.4802, allocations: 0 / 0.8899 GB, free: 15.97 MB / 0.7169 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.02515/0.5054, allocations: 6.33 MB / 0.8961 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.5054, allocations: 8.031 kB / 0.8961 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007307/0.5127, allocations: 1.059 MB / 0.8972 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009488/0.5223, allocations: 3.618 MB / 0.9007 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000497/0.5228, allocations: 419.8 kB / 0.9011 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00257/0.5254, allocations: 0.5432 MB / 0.9016 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02504/0.5504, allocations: 9.381 MB / 0.9108 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002776/0.5508, allocations: 23.86 kB / 0.9108 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002179/0.5529, allocations: 244 kB / 0.911 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000742/0.5537, allocations: 422.9 kB / 0.9114 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01596/0.5697, allocations: 7.123 MB / 0.9184 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5433/1.113, allocations: 41.01 MB / 0.9584 GB, free: 90.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005349/1.118, allocations: 3.101 MB / 0.9615 GB, free: 89.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003966/1.122, allocations: 2.138 MB / 0.9636 GB, free: 88.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/1.123, allocations: 25.75 kB / 0.9636 GB, free: 88.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.089e-05/1.123, allocations: 63.09 kB / 0.9637 GB, free: 88.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 4.829e-06/1.123, allocations: 0 / 0.9637 GB, free: 88.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.02636/1.149, allocations: 10.56 MB / 0.974 GB, free: 82.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/1.149, allocations: 74 kB / 0.974 GB, free: 82.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003615/1.153, allocations: 2.001 MB / 0.976 GB, free: 81.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003822/1.153, allocations: 67.33 kB / 0.976 GB, free: 81.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/1.155, allocations: 2.41 MB / 0.9784 GB, free: 79.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006682/1.155, allocations: 0.7272 MB / 0.9791 GB, free: 78.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007564/1.156, allocations: 484.7 kB / 0.9796 GB, free: 78.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.993e-05/1.156, allocations: 305.1 kB / 0.9799 GB, free: 78.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/1.158, allocations: 1.379 MB / 0.9812 GB, free: 77.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/1.16, allocations: 2.099 MB / 0.9833 GB, free: 75.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003845/1.164, allocations: 3.771 MB / 0.9869 GB, free: 73.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/1.164, allocations: 3.938 kB / 0.9869 GB, free: 73.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007209/1.171, allocations: 5.069 MB / 0.9919 GB, free: 70.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/1.171, allocations: 16.17 kB / 0.9919 GB, free: 70.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/1.171, allocations: 22.22 kB / 0.9919 GB, free: 70.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003193/1.174, allocations: 1.591 MB / 0.9935 GB, free: 69.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/1.176, allocations: 449.9 kB / 0.9939 GB, free: 69.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/1.194, allocations: 18.57 MB / 1.012 GB, free: 53.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/1.196, allocations: 143.9 kB / 1.012 GB, free: 53.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/1.197, allocations: 111.9 kB / 1.012 GB, free: 53.18 MB / 0.7325 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.003335/1.2, allocations: 1.941 MB / 1.014 GB, free: 51.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007885/1.201, allocations: 292.6 kB / 1.014 GB, free: 50.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006102/1.207, allocations: 4.447 MB / 1.019 GB, free: 46.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/1.207, allocations: 20 kB / 1.019 GB, free: 46.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/1.207, allocations: 16 kB / 1.019 GB, free: 46.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/1.207, allocations: 11.95 kB / 1.019 GB, free: 46.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.221, allocations: 9.664 MB / 1.028 GB, free: 36.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.221, allocations: 4.125 kB / 1.028 GB, free: 36.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009385/1.222, allocations: 247.5 kB / 1.029 GB, free: 36.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002935/1.225, allocations: 1.431 MB / 1.03 GB, free: 34.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/1.225, allocations: 36 kB / 1.03 GB, free: 34.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/1.243, allocations: 18.57 MB / 1.048 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.243, allocations: 11.47 kB / 1.048 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/1.249, allocations: 4.544 MB / 1.053 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.25, allocations: 0.6342 MB / 1.053 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00036/1.251, allocations: 43.98 kB / 1.053 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.252, allocations: 115.9 kB / 1.053 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/1.253, allocations: 177.6 kB / 1.053 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.253, allocations: 60 kB / 1.054 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00142/1.254, allocations: 1.315 MB / 1.055 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.254, allocations: 0 / 1.055 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003065/1.257, allocations: 1.141 MB / 1.056 GB, free: 7.648 MB / 0.7325 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.0002888/1.257, allocations: 167 kB / 1.056 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00639/1.264, allocations: 4.711 MB / 1.061 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/1.264, allocations: 6.234 kB / 1.061 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003673/1.268, allocations: 2.923 MB / 1.064 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003969/1.272, allocations: 0.8911 MB / 1.064 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.287, allocations: 9.275 MB / 1.073 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003908/1.291, allocations: 3.69 MB / 1.077 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001857/1.293, allocations: 0.5556 MB / 1.078 GB, free: 1.246 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/1.293, allocations: 147.4 kB / 1.078 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of SimCode: time 9.61e-07/1.293, allocations: 7.938 kB / 1.078 GB, free: 1.094 MB / 0.7481 GB Notification: Performance of Templates: time 0.08685/1.38, allocations: 50.78 MB / 1.127 GB, free: 15.11 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)