Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.208/3.208, allocations: 287.3 MB / 302.3 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002306/0.002305, allocations: 182.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 86.89 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00065/0.0006501, allocations: 11.5 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2234, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03343/0.2569, allocations: 23.26 MB / 1.001 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.2747, allocations: 7.768 MB / 1.009 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.2777, allocations: 95.38 kB / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002574/0.2803, allocations: 0.5085 MB / 1.009 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005975/0.2863, allocations: 1.184 MB / 1.01 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005419/0.2918, allocations: 1.006 MB / 1.011 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007745/0.2995, allocations: 2.995 MB / 1.014 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02059/0.3202, allocations: 8.168 MB / 1.022 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005375/0.3256, allocations: 1.647 MB / 1.024 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005064/0.3308, allocations: 1.666 MB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001385/0.3322, allocations: 212 kB / 1.026 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.3354, allocations: 0.4994 MB / 1.026 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003645/0.3391, allocations: 1.532 MB / 1.028 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002469/0.3416, allocations: 0.7966 MB / 1.028 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.3527, allocations: 6.518 MB / 1.035 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3528, allocations: 0 / 1.035 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.176e-06/0.3528, allocations: 0 / 1.035 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002847/0.3531, allocations: 0 / 1.035 GB, free: 2.344 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01211/0.3652, allocations: 3.432 MB / 1.038 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.3653, allocations: 8.031 kB / 1.038 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006706/0.372, allocations: 0.7641 MB / 1.039 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00811/0.3801, allocations: 2.366 MB / 1.041 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004038/0.3806, allocations: 279.2 kB / 1.041 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/0.3826, allocations: 371.9 kB / 1.042 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.4028, allocations: 5.93 MB / 1.048 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002694/0.4031, allocations: 23.78 kB / 1.048 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/0.4047, allocations: 156 kB / 1.048 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001122/0.4058, allocations: 290.8 kB / 1.048 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0146/0.4205, allocations: 4.492 MB / 1.052 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6805/1.101, allocations: 27.68 MB / 1.079 GB, free: 68.97 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/1.104, allocations: 1.11 MB / 1.08 GB, free: 68.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/1.104, allocations: 15.47 kB / 1.08 GB, free: 68.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/1.104, allocations: 47.91 kB / 1.081 GB, free: 68.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 4.458e-06/1.104, allocations: 0 / 1.081 GB, free: 68.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.03839/1.143, allocations: 9.658 MB / 1.09 GB, free: 64.37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/1.143, allocations: 69.98 kB / 1.09 GB, free: 64.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003007/1.146, allocations: 1.478 MB / 1.091 GB, free: 63.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003459/1.146, allocations: 48.86 kB / 1.092 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001365/1.148, allocations: 1.669 MB / 1.093 GB, free: 62.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006708/1.148, allocations: 469.7 kB / 1.094 GB, free: 62.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/1.149, allocations: 43.69 kB / 1.094 GB, free: 62.04 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.149, allocations: 375.4 kB / 1.094 GB, free: 61.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/1.151, allocations: 0.9083 MB / 1.095 GB, free: 61.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/1.154, allocations: 1.45 MB / 1.096 GB, free: 60.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/1.157, allocations: 1.144 MB / 1.097 GB, free: 59.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/1.157, allocations: 4.969 kB / 1.097 GB, free: 59.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.009849/1.167, allocations: 3.265 MB / 1.101 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/1.167, allocations: 12.61 kB / 1.101 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/1.167, allocations: 23.72 kB / 1.101 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003876/1.171, allocations: 0.7431 MB / 1.101 GB, free: 58.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003087/1.174, allocations: 391.9 kB / 1.102 GB, free: 58.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02072/1.194, allocations: 16.03 MB / 1.117 GB, free: 44.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/1.197, allocations: 106.5 kB / 1.118 GB, free: 44.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/1.197, allocations: 74.66 kB / 1.118 GB, free: 44.47 MB / 0.6823 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003394/1.201, allocations: 1.305 MB / 1.119 GB, free: 43.87 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007079/1.202, allocations: 205.8 kB / 1.119 GB, free: 43.77 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0085/1.21, allocations: 2.786 MB / 1.122 GB, free: 42.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/1.21, allocations: 17.23 kB / 1.122 GB, free: 42.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.308e-05/1.21, allocations: 6.438 kB / 1.122 GB, free: 42.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.102e-05/1.21, allocations: 12.58 kB / 1.122 GB, free: 42.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/1.229, allocations: 6.206 MB / 1.128 GB, free: 38.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.229, allocations: 5.156 kB / 1.128 GB, free: 38.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/1.231, allocations: 237.9 kB / 1.128 GB, free: 38.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00365/1.235, allocations: 0.6621 MB / 1.129 GB, free: 38.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003062/1.235, allocations: 28.91 kB / 1.129 GB, free: 38.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0207/1.256, allocations: 15.78 MB / 1.144 GB, free: 23.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/1.256, allocations: 9.188 kB / 1.144 GB, free: 23.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/1.267, allocations: 4.333 MB / 1.148 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/1.269, allocations: 459 kB / 1.149 GB, free: 20.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006442/1.269, allocations: 35.33 kB / 1.149 GB, free: 20.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/1.271, allocations: 81.73 kB / 1.149 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005784/1.272, allocations: 118.3 kB / 1.149 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/1.272, allocations: 38.28 kB / 1.149 GB, free: 20.49 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00202/1.274, allocations: 0.9758 MB / 1.15 GB, free: 19.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.82e-07/1.274, allocations: 3.625 kB / 1.15 GB, free: 19.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003785/1.278, allocations: 0.6886 MB / 1.151 GB, free: 19.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005162/1.279, allocations: 156.2 kB / 1.151 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008072/1.287, allocations: 3.492 MB / 1.154 GB, free: 17.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/1.287, allocations: 0 / 1.154 GB, free: 17.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005034/1.292, allocations: 2.29 MB / 1.157 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004725/1.296, allocations: 0.5953 MB / 1.157 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/1.314, allocations: 7.828 MB / 1.165 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004998/1.319, allocations: 2.738 MB / 1.167 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00269/1.322, allocations: 489.4 kB / 1.168 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006698/1.322, allocations: 123.4 kB / 1.168 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/1.322, allocations: 0 / 1.168 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of Templates: time 0.09604/1.418, allocations: 31.17 MB / 1.198 GB, free: 5.043 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)