Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 182.2 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007792/0.0007791, allocations: 96.47 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 6.906 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2655, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005084/0.2706, allocations: 5.436 MB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004126/0.2748, allocations: 3.046 MB / 0.9091 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000408/0.2752, allocations: 27.81 kB / 0.9091 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.2756, allocations: 126.9 kB / 0.9093 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008833/0.2765, allocations: 382 kB / 0.9096 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.2775, allocations: 365.5 kB / 0.91 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000936/0.2784, allocations: 1.217 MB / 0.9112 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.2798, allocations: 0.921 MB / 0.9121 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004955/0.2803, allocations: 366.4 kB / 0.9124 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.2808, allocations: 434.4 kB / 0.9128 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.921e-05/0.2809, allocations: 28 kB / 0.9129 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005489/0.2814, allocations: 243.7 kB / 0.9131 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.2816, allocations: 259.2 kB / 0.9133 GB, free: 51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.2817, allocations: 165.2 kB / 0.9135 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000722/0.2825, allocations: 0.8808 MB / 0.9143 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2825, allocations: 0 / 0.9143 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.706e-06/0.2825, allocations: 0 / 0.9143 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.2825, allocations: 4 kB / 0.9144 GB, free: 49.95 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001266/0.2838, allocations: 0.9154 MB / 0.9152 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2838, allocations: 15.97 kB / 0.9153 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.2852, allocations: 222.7 kB / 0.9155 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.2859, allocations: 0.5327 MB / 0.916 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.2859, allocations: 45.3 kB / 0.916 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.015e-05/0.286, allocations: 67.89 kB / 0.9161 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.2872, allocations: 1.018 MB / 0.9171 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.2873, allocations: 7.938 kB / 0.9171 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.2873, allocations: 31.98 kB / 0.9171 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.361e-05/0.2874, allocations: 69.27 kB / 0.9172 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008564/0.2883, allocations: 0.6957 MB / 0.9179 GB, free: 46.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.2923, allocations: 5.756 MB / 0.9235 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.2931, allocations: 0.595 MB / 0.9241 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/0.2938, allocations: 416.6 kB / 0.9245 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.2938, allocations: 8 kB / 0.9245 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2938, allocations: 42.5 kB / 0.9245 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.815e-06/0.2938, allocations: 0 / 0.9245 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.003932/0.2978, allocations: 2.054 MB / 0.9265 GB, free: 36.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.2978, allocations: 55.41 kB / 0.9266 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.2982, allocations: 470.7 kB / 0.927 GB, free: 36.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.2983, allocations: 33.64 kB / 0.9271 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.2984, allocations: 391 kB / 0.9274 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.2985, allocations: 149.8 kB / 0.9276 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.2986, allocations: 12 kB / 0.9276 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2987, allocations: 366.8 kB / 0.9279 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.299, allocations: 245.2 kB / 0.9282 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.2993, allocations: 453 kB / 0.9286 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.2997, allocations: 319.8 kB / 0.9289 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2997, allocations: 4 kB / 0.9289 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001569/0.3013, allocations: 1.054 MB / 0.9299 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3013, allocations: 8.875 kB / 0.93 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3013, allocations: 8 kB / 0.93 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009445/0.3023, allocations: 339 kB / 0.9303 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.3026, allocations: 95.81 kB / 0.9304 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005636/0.3083, allocations: 6.935 MB / 0.9372 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.3089, allocations: 28.02 kB / 0.9372 GB, free: 25.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.3089, allocations: 31.94 kB / 0.9372 GB, free: 25.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000374/0.3093, allocations: 237.6 kB / 0.9374 GB, free: 24.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.3094, allocations: 59.34 kB / 0.9375 GB, free: 24.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.3108, allocations: 0.9121 MB / 0.9384 GB, free: 23.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3109, allocations: 8 kB / 0.9384 GB, free: 23.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3109, allocations: 4 kB / 0.9384 GB, free: 23.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3109, allocations: 7.938 kB / 0.9384 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.313, allocations: 1.704 MB / 0.9401 GB, free: 22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.313, allocations: 4 kB / 0.9401 GB, free: 22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.3132, allocations: 43.91 kB / 0.9401 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008324/0.314, allocations: 327.5 kB / 0.9404 GB, free: 21.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.314, allocations: 15.95 kB / 0.9404 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004782/0.3188, allocations: 6.92 MB / 0.9472 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3189, allocations: 0 / 0.9472 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.3203, allocations: 1.015 MB / 0.9482 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.3205, allocations: 184.2 kB / 0.9484 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/0.3206, allocations: 8 kB / 0.9484 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.3209, allocations: 19.97 kB / 0.9484 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-05/0.321, allocations: 43.89 kB / 0.9484 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.321, allocations: 8 kB / 0.9484 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003161/0.3213, allocations: 310.9 kB / 0.9487 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3213, allocations: 4 kB / 0.9487 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007961/0.3221, allocations: 196 kB / 0.9489 GB, free: 12.31 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001755/0.3223, allocations: 111.1 kB / 0.949 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.3239, allocations: 1.199 MB / 0.9502 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3239, allocations: 4 kB / 0.9502 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000965/0.3249, allocations: 0.8618 MB / 0.951 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009/0.3258, allocations: 194.9 kB / 0.9512 GB, free: 9.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.3276, allocations: 1.551 MB / 0.9527 GB, free: 8.242 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.3281, allocations: 0.9921 MB / 0.9537 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.3282, allocations: 43.44 kB / 0.9538 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of SimCode: time 1.452e-06/0.3282, allocations: 0 / 0.9538 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.02133/0.3495, allocations: 18.59 MB / 0.9719 GB, free: 4.613 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)