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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009809/0.0009809, allocations: 185.2 kB / 327.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.0008301/0.0008302, allocations: 92.02 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 8.906 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2643, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005599/0.27, allocations: 6.025 MB / 0.9067 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00421/0.2743, allocations: 2.933 MB / 0.9096 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004789/0.2748, allocations: 23.81 kB / 0.9096 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.2751, allocations: 134.9 kB / 0.9097 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009171/0.2761, allocations: 413.7 kB / 0.9101 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.2769, allocations: 333 kB / 0.9104 GB, free: 54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009476/0.2779, allocations: 1.33 MB / 0.9117 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.2792, allocations: 0.9326 MB / 0.9127 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.2796, allocations: 386.5 kB / 0.913 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/0.2801, allocations: 494.1 kB / 0.9135 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.597e-05/0.2802, allocations: 36 kB / 0.9135 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.2806, allocations: 191.8 kB / 0.9137 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.2808, allocations: 271.2 kB / 0.914 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2809, allocations: 177.3 kB / 0.9141 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.2816, allocations: 0.9041 MB / 0.915 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2816, allocations: 0 / 0.915 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2817, allocations: 0 / 0.915 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.2817, allocations: 0 / 0.915 GB, free: 49.27 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00144/0.2831, allocations: 1.018 MB / 0.916 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2832, allocations: 12.03 kB / 0.916 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.2845, allocations: 238.6 kB / 0.9163 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006696/0.2852, allocations: 0.5443 MB / 0.9168 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.2852, allocations: 45.3 kB / 0.9168 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.134e-05/0.2853, allocations: 67.98 kB / 0.9169 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.2866, allocations: 1.069 MB / 0.9179 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.2866, allocations: 7.938 kB / 0.9179 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.2867, allocations: 27.98 kB / 0.918 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.2869, allocations: 89.25 kB / 0.9181 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009514/0.2878, allocations: 0.7503 MB / 0.9188 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.2921, allocations: 5.905 MB / 0.9246 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008677/0.293, allocations: 0.5497 MB / 0.9251 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.2933, allocations: 328.6 kB / 0.9254 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.2934, allocations: 4.438 kB / 0.9254 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2934, allocations: 43 kB / 0.9255 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.2934, allocations: 4 kB / 0.9255 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.003456/0.2969, allocations: 1.99 MB / 0.9274 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.2969, allocations: 55.84 kB / 0.9275 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.2974, allocations: 0.5548 MB / 0.928 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.2975, allocations: 37.69 kB / 0.928 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.2977, allocations: 422.9 kB / 0.9284 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2978, allocations: 165.6 kB / 0.9286 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.2978, allocations: 16 kB / 0.9286 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2979, allocations: 374.8 kB / 0.929 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.2983, allocations: 269.8 kB / 0.9292 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/0.2987, allocations: 497 kB / 0.9297 GB, free: 33.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.2991, allocations: 342 kB / 0.93 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2991, allocations: 4 kB / 0.93 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001447/0.3006, allocations: 1.083 MB / 0.9311 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3006, allocations: 11.98 kB / 0.9311 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3006, allocations: 8 kB / 0.9311 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007535/0.3014, allocations: 275.6 kB / 0.9314 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.3018, allocations: 123.8 kB / 0.9315 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/0.3064, allocations: 6.599 MB / 0.9379 GB, free: 24.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/0.307, allocations: 40.02 kB / 0.938 GB, free: 24.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.307, allocations: 32 kB / 0.938 GB, free: 24.28 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 (67): * Single equations (assignments): 63 * 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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003331/0.3074, allocations: 253.5 kB / 0.9382 GB, free: 24.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.3075, allocations: 67.25 kB / 0.9383 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.3088, allocations: 0.8886 MB / 0.9392 GB, free: 23.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3088, allocations: 4 kB / 0.9392 GB, free: 23.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3088, allocations: 4 kB / 0.9392 GB, free: 23.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3088, allocations: 3.984 kB / 0.9392 GB, free: 23.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.3109, allocations: 1.724 MB / 0.9409 GB, free: 21.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3109, allocations: 3.953 kB / 0.9409 GB, free: 21.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.3112, allocations: 68.12 kB / 0.9409 GB, free: 21.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006863/0.3119, allocations: 271.4 kB / 0.9412 GB, free: 20.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.3119, allocations: 16.06 kB / 0.9412 GB, free: 20.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004929/0.3169, allocations: 6.572 MB / 0.9476 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3169, allocations: 3.938 kB / 0.9476 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.3186, allocations: 0.9874 MB / 0.9486 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.3189, allocations: 192.2 kB / 0.9488 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.319, allocations: 11.98 kB / 0.9488 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.3193, allocations: 31.92 kB / 0.9488 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3194, allocations: 47.83 kB / 0.9489 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.3195, allocations: 16 kB / 0.9489 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004694/0.32, allocations: 383.1 kB / 0.9492 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.81e-07/0.32, allocations: 0 / 0.9492 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009265/0.3209, allocations: 228 kB / 0.9495 GB, free: 11.81 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 (31): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000212/0.3211, allocations: 115.2 kB / 0.9496 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.3229, allocations: 1.268 MB / 0.9508 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.323, allocations: 0 / 0.9508 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.324, allocations: 0.8897 MB / 0.9517 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009658/0.325, allocations: 206 kB / 0.9519 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.3269, allocations: 1.66 MB / 0.9535 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.3274, allocations: 1.016 MB / 0.9545 GB, free: 6.469 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3275, allocations: 51.42 kB / 0.9545 GB, free: 6.418 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.3275, allocations: 0 / 0.9545 GB, free: 6.418 MB / 0.6042 GB Notification: Performance of Templates: time 0.02198/0.3495, allocations: 20.78 MB / 0.9748 GB, free: 1.684 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)