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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 292.3 MB / 308.1 MB, free: 4.316 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.001491/0.001491, allocations: 200.2 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009601/0.0009598, allocations: 106.5 kB / 0.748 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001/0.0009998, allocations: 59.86 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2572, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04064/0.2979, allocations: 37.45 MB / 1.019 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5021/0.8, allocations: 11.04 MB / 1.03 GB, free: 71.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004888/0.805, allocations: 138.4 kB / 1.03 GB, free: 71.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.009947/0.815, allocations: 4.059 MB / 1.034 GB, free: 71.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007113/0.8221, allocations: 2.094 MB / 1.036 GB, free: 71.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006474/0.8286, allocations: 1.958 MB / 1.038 GB, free: 71.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02002/0.8487, allocations: 13.25 MB / 1.051 GB, free: 70.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02169/0.8704, allocations: 12.44 MB / 1.063 GB, free: 65.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00811/0.8786, allocations: 3.441 MB / 1.066 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009928/0.8886, allocations: 4.596 MB / 1.071 GB, free: 62.83 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0038/0.8924, allocations: 0.5615 MB / 1.071 GB, free: 62.83 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006752/0.8992, allocations: 1.552 MB / 1.073 GB, free: 62.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.006177/0.9054, allocations: 2.887 MB / 1.075 GB, free: 61.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01036/0.9158, allocations: 3.359 MB / 1.079 GB, free: 59.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01646/0.9323, allocations: 12.08 MB / 1.091 GB, free: 55.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.9323, allocations: 0 / 1.091 GB, free: 55.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9323, allocations: 3.25 kB / 1.091 GB, free: 55.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005178/0.9329, allocations: 4 kB / 1.091 GB, free: 55.98 MB / 0.7448 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.02042/0.9533, allocations: 6.319 MB / 1.097 GB, free: 52.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.9534, allocations: 9.594 kB / 1.097 GB, free: 52.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006763/0.9602, allocations: 1.074 MB / 1.098 GB, free: 52.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009009/0.9692, allocations: 3.418 MB / 1.101 GB, free: 50.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/0.9696, allocations: 427.9 kB / 1.102 GB, free: 50.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002638/0.9722, allocations: 0.5359 MB / 1.102 GB, free: 50.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02104/0.9933, allocations: 9.379 MB / 1.111 GB, free: 46.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/0.9935, allocations: 24.81 kB / 1.111 GB, free: 46.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009024/0.9944, allocations: 245.6 kB / 1.111 GB, free: 46.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005761/0.995, allocations: 426.1 kB / 1.112 GB, free: 46.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01365/1.009, allocations: 7.12 MB / 1.119 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05467/1.063, allocations: 41.31 MB / 1.159 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/1.068, allocations: 3.112 MB / 1.162 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003367/1.072, allocations: 2.13 MB / 1.164 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/1.072, allocations: 21.69 kB / 1.164 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/1.072, allocations: 63.83 kB / 1.164 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=209): time 4.669e-06/1.072, allocations: 0 / 1.164 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=212): time 0.03085/1.103, allocations: 10.55 MB / 1.175 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/1.103, allocations: 77.5 kB / 1.175 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004231/1.107, allocations: 2.003 MB / 1.177 GB, free: 18.89 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004646/1.108, allocations: 65.61 kB / 1.177 GB, free: 18.84 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001975/1.11, allocations: 2.403 MB / 1.179 GB, free: 17.02 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008599/1.111, allocations: 0.7293 MB / 1.18 GB, free: 16.41 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007693/1.111, allocations: 481.8 kB / 1.18 GB, free: 16.15 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.112, allocations: 305.1 kB / 1.181 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/1.114, allocations: 1.374 MB / 1.182 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/1.116, allocations: 2.107 MB / 1.184 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00584/1.122, allocations: 3.762 MB / 1.188 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-05/1.122, allocations: 11.94 kB / 1.188 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009155/1.131, allocations: 5.076 MB / 1.193 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/1.131, allocations: 12.97 kB / 1.193 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/1.131, allocations: 24 kB / 1.193 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003727/1.135, allocations: 1.574 MB / 1.194 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/1.137, allocations: 455.2 kB / 1.195 GB, free: 3.605 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02215/1.159, allocations: 17.08 MB / 1.211 GB, free: 1.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/1.163, allocations: 139.9 kB / 1.211 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003623/1.163, allocations: 108 kB / 1.212 GB, free: 1.75 MB / 0.7761 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.004568/1.168, allocations: 1.951 MB / 1.213 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009596/1.169, allocations: 284.7 kB / 1.214 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007584/1.176, allocations: 4.454 MB / 1.218 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/1.176, allocations: 20 kB / 1.218 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.79e-05/1.176, allocations: 16 kB / 1.218 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.417e-05/1.176, allocations: 11.95 kB / 1.218 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0187/1.195, allocations: 9.663 MB / 1.228 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.195, allocations: 4 kB / 1.228 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/1.196, allocations: 235 kB / 1.228 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003246/1.199, allocations: 1.435 MB / 1.229 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/1.2, allocations: 40 kB / 1.229 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02068/1.22, allocations: 17.05 MB / 1.246 GB, free: 13.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/1.22, allocations: 8.188 kB / 1.246 GB, free: 13.89 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/1.232, allocations: 7.566 MB / 1.253 GB, free: 6.195 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/1.234, allocations: 0.6304 MB / 1.254 GB, free: 5.543 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004235/1.234, allocations: 47.92 kB / 1.254 GB, free: 5.496 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.236, allocations: 115.9 kB / 1.254 GB, free: 5.383 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000653/1.236, allocations: 173.6 kB / 1.254 GB, free: 5.215 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.236, allocations: 67.98 kB / 1.254 GB, free: 5.148 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002075/1.238, allocations: 1.315 MB / 1.256 GB, free: 3.824 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.41e-07/1.238, allocations: 0 / 1.256 GB, free: 3.824 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005335/1.244, allocations: 1.137 MB / 1.257 GB, free: 2.688 MB / 0.823 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.0004907/1.244, allocations: 167 kB / 1.257 GB, free: 2.516 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00813/1.252, allocations: 4.7 MB / 1.261 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/1.253, allocations: 4 kB / 1.261 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.005215/1.258, allocations: 2.915 MB / 1.264 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006229/1.264, allocations: 0.8387 MB / 1.265 GB, free: 9.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/1.286, allocations: 12.98 MB / 1.278 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005501/1.292, allocations: 3.757 MB / 1.281 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002564/1.294, allocations: 0.5635 MB / 1.282 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/1.295, allocations: 151.4 kB / 1.282 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/1.295, allocations: 0 / 1.282 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of Templates: time 0.09372/1.389, allocations: 52.65 MB / 1.334 GB, free: 4.395 MB / 0.9011 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)