Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 288.4 MB / 303.7 MB, free: 8.145 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.001028/0.001028, allocations: 184.5 kB / 372.3 MB, free: 10.13 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.746/1.746, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0008508/0.0008507, allocations: 94.3 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.000457, allocations: 12.66 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.009476/0.239, allocations: 10.77 MB / 0.9907 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0071/0.2461, allocations: 5.232 MB / 0.9958 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.2476, allocations: 35.81 kB / 0.9958 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.2486, allocations: 306 kB / 0.9961 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.25, allocations: 0.5484 MB / 0.9966 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.2517, allocations: 0.5183 MB / 0.9971 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002269/0.254, allocations: 2.934 MB / 1 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004865/0.2589, allocations: 4.31 MB / 1.004 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.2603, allocations: 0.7707 MB / 1.005 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.2617, allocations: 1.086 MB / 1.006 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.2619, allocations: 107.9 kB / 1.006 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.2632, allocations: 0.4953 MB / 1.007 GB, free: 108 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000768/0.2639, allocations: 0.7482 MB / 1.007 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000873/0.2648, allocations: 0.8185 MB / 1.008 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.2679, allocations: 3.269 MB / 1.011 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.2679, allocations: 0 / 1.011 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.61e-07/0.2679, allocations: 3.938 kB / 1.011 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.631e-05/0.268, allocations: 4 kB / 1.011 GB, free: 11.24 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003554/0.2716, allocations: 1.757 MB / 1.013 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2716, allocations: 8.031 kB / 1.013 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002987/0.2746, allocations: 0.7479 MB / 1.014 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/0.2775, allocations: 1.247 MB / 1.015 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.2776, allocations: 119.6 kB / 1.015 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004123/0.2781, allocations: 156.1 kB / 1.015 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005414/0.2835, allocations: 2.944 MB / 1.018 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/0.2835, allocations: 7.906 kB / 1.018 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.2837, allocations: 71.97 kB / 1.018 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004511/0.2842, allocations: 207 kB / 1.018 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004479/0.2887, allocations: 2.503 MB / 1.021 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.3034, allocations: 10.9 MB / 1.032 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.3048, allocations: 0.9294 MB / 1.032 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/0.3055, allocations: 0.5012 MB / 1.033 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.3057, allocations: 93.47 kB / 1.033 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.3057, allocations: 38.94 kB / 1.033 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.977e-06/0.3057, allocations: 0 / 1.033 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.02825/0.334, allocations: 8.983 MB / 1.042 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.3341, allocations: 85.67 kB / 1.042 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.3356, allocations: 0.9415 MB / 1.043 GB, free: 9.781 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.3358, allocations: 41.64 kB / 1.043 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005911/0.3364, allocations: 0.7736 MB / 1.044 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.3367, allocations: 244.5 kB / 1.044 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.3367, allocations: 16 kB / 1.044 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.337, allocations: 402.7 kB / 1.044 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.3382, allocations: 0.7989 MB / 1.045 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.3397, allocations: 1.156 MB / 1.046 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002705/0.3424, allocations: 2.005 MB / 1.048 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.3424, allocations: 4 kB / 1.048 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009714/0.3521, allocations: 3.783 MB / 1.052 GB, free: 216 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003507/0.3525, allocations: 421.1 kB / 1.052 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.3525, allocations: 8 kB / 1.052 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008368/0.3609, allocations: 2.158 MB / 1.054 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009607/0.3619, allocations: 227.6 kB / 1.055 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/0.378, allocations: 10.25 MB / 1.065 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.3798, allocations: 195.6 kB / 1.065 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.3799, allocations: 52.02 kB / 1.065 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.38, allocations: 4 kB / 1.065 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5107/0.8907, allocations: 3.07 MB / 1.068 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.879e-05/0.8908, allocations: 12.78 kB / 1.068 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006082/0.8969, allocations: 1.353 MB / 1.069 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.8981, allocations: 293.4 kB / 1.069 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.9096, allocations: 6.156 MB / 1.075 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.9111, allocations: 167.4 kB / 1.076 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.9113, allocations: 46.69 kB / 1.076 GB, free: 80.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001626/0.9129, allocations: 0.9073 MB / 1.076 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.9132, allocations: 86.75 kB / 1.077 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009869/0.923, allocations: 3.322 MB / 1.08 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.9231, allocations: 11.7 kB / 1.08 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.9231, allocations: 5.672 kB / 1.08 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.9231, allocations: 3.938 kB / 1.08 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.9362, allocations: 5.485 MB / 1.085 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.9362, allocations: 5.656 kB / 1.085 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.9367, allocations: 105.5 kB / 1.085 GB, free: 76.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007303/0.944, allocations: 1.978 MB / 1.087 GB, free: 76.63 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.9441, allocations: 14.03 kB / 1.087 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/0.9576, allocations: 9.648 MB / 1.097 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.9577, allocations: 5.188 kB / 1.097 GB, free: 71.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008025/0.9657, allocations: 3.206 MB / 1.1 GB, free: 69.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007667/0.9665, allocations: 333.4 kB / 1.1 GB, free: 69.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.9667, allocations: 19.31 kB / 1.1 GB, free: 69.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008252/0.9675, allocations: 146.4 kB / 1.1 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/0.9679, allocations: 71.78 kB / 1.1 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.9679, allocations: 26.5 kB / 1.1 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009517/0.9689, allocations: 0.6712 MB / 1.101 GB, free: 69.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9689, allocations: 0 / 1.101 GB, free: 69.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00243/0.9713, allocations: 0.6785 MB / 1.102 GB, free: 68.99 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002446/0.9716, allocations: 126.8 kB / 1.102 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007976/0.9796, allocations: 3.918 MB / 1.106 GB, free: 66.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.9796, allocations: 0 / 1.106 GB, free: 66.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002185/0.9818, allocations: 1.307 MB / 1.107 GB, free: 65.88 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.9835, allocations: 247.2 kB / 1.107 GB, free: 65.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007918/0.9915, allocations: 4.081 MB / 1.111 GB, free: 63.26 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/0.9938, allocations: 1.719 MB / 1.113 GB, free: 62.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002048/0.9959, allocations: 0.5144 MB / 1.113 GB, free: 61.83 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.9961, allocations: 57.8 kB / 1.113 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of SimCode: time 1.963e-06/0.9961, allocations: 0 / 1.113 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of Templates: time 0.04275/1.039, allocations: 29.53 MB / 1.142 GB, free: 38.07 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)