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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009652/0.0009654, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007655/0.007655, allocations: 171.3 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.564/1.564, allocations: 252 MB / 0.5105 GB, free: 4.582 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006238/0.0006239, allocations: 12 kB / 0.6249 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.6061, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007263/0.6134, allocations: 6.345 MB / 0.7349 GB, free: 4.918 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004956/0.6184, allocations: 3.064 MB / 0.7379 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004574/0.6189, allocations: 27.81 kB / 0.7379 GB, free: 1.812 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.6193, allocations: 134.8 kB / 0.7381 GB, free: 1.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.6204, allocations: 489.7 kB / 0.7385 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009524/0.6213, allocations: 402.6 kB / 0.7389 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001608/0.6229, allocations: 1.587 MB / 0.7405 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.6247, allocations: 1.016 MB / 0.7415 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.6252, allocations: 382.3 kB / 0.7418 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.6258, allocations: 0.4941 MB / 0.7423 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.907e-05/0.6259, allocations: 36 kB / 0.7423 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006962/0.6266, allocations: 439.1 kB / 0.7428 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.6269, allocations: 287.1 kB / 0.743 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00038/0.6273, allocations: 431.5 kB / 0.7434 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.6284, allocations: 1.185 MB / 0.7446 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6284, allocations: 0 / 0.7446 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6284, allocations: 0 / 0.7446 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.6284, allocations: 0 / 0.7446 GB, free: 10.95 MB / 0.5606 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.001668/0.6301, allocations: 1.017 MB / 0.7456 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6301, allocations: 8.031 kB / 0.7456 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.6316, allocations: 235.6 kB / 0.7458 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/0.6324, allocations: 0.553 MB / 0.7464 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/0.6325, allocations: 57.67 kB / 0.7464 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.6326, allocations: 64.27 kB / 0.7465 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.6341, allocations: 1.081 MB / 0.7475 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.6342, allocations: 7.938 kB / 0.7475 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.46e-05/0.6342, allocations: 31.98 kB / 0.7476 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.6344, allocations: 85.25 kB / 0.7477 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.6355, allocations: 0.7543 MB / 0.7484 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005361/0.6409, allocations: 5.893 MB / 0.7542 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/0.6419, allocations: 0.5606 MB / 0.7547 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/0.6423, allocations: 334 kB / 0.755 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.6424, allocations: 4.438 kB / 0.755 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.6424, allocations: 43 kB / 0.7551 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.474e-06/0.6424, allocations: 0 / 0.7551 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.003885/0.6463, allocations: 1.99 MB / 0.757 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.6464, allocations: 63.78 kB / 0.7571 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/0.647, allocations: 0.5625 MB / 0.7576 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.6471, allocations: 37.7 kB / 0.7577 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.6473, allocations: 414.9 kB / 0.758 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.6475, allocations: 173.6 kB / 0.7582 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/0.6476, allocations: 57.69 kB / 0.7583 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6477, allocations: 378.7 kB / 0.7586 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.6481, allocations: 273.8 kB / 0.7589 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/0.6487, allocations: 0.4892 MB / 0.7594 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009826/0.6497, allocations: 0.8094 MB / 0.7602 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.6497, allocations: 4 kB / 0.7602 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001797/0.6515, allocations: 1.087 MB / 0.7612 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.6515, allocations: 8 kB / 0.7612 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.6515, allocations: 15.92 kB / 0.7612 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008662/0.6524, allocations: 275.5 kB / 0.7615 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.6529, allocations: 123.8 kB / 0.7616 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006113/0.659, allocations: 6.603 MB / 0.7681 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/0.6596, allocations: 35.97 kB / 0.7681 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.6596, allocations: 36.06 kB / 0.7681 GB, free: 1.277 MB / 0.5762 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 (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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003662/0.66, allocations: 254 kB / 0.7684 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.6601, allocations: 75.14 kB / 0.7685 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.6617, allocations: 0.8886 MB / 0.7693 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.6617, allocations: 4 kB / 0.7693 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.6618, allocations: 7.984 kB / 0.7693 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.6618, allocations: 4.031 kB / 0.7693 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.6644, allocations: 1.728 MB / 0.771 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6644, allocations: 3.938 kB / 0.771 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.6647, allocations: 63.89 kB / 0.7711 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007718/0.6655, allocations: 271.3 kB / 0.7714 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.6655, allocations: 12.06 kB / 0.7714 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006187/0.6717, allocations: 6.595 MB / 0.7778 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6717, allocations: 0 / 0.7778 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.6734, allocations: 0.9834 MB / 0.7788 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.6737, allocations: 200.2 kB / 0.779 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.6738, allocations: 11.94 kB / 0.779 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.6742, allocations: 28.11 kB / 0.779 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.6743, allocations: 47.86 kB / 0.779 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.6744, allocations: 16 kB / 0.7791 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004702/0.6748, allocations: 387.1 kB / 0.7794 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6748, allocations: 0 / 0.7794 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008368/0.6757, allocations: 224 kB / 0.7796 GB, free: 4.777 MB / 0.5919 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 (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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.6759, allocations: 124.7 kB / 0.7798 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.6779, allocations: 1.275 MB / 0.781 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6779, allocations: 0 / 0.781 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.6792, allocations: 0.8936 MB / 0.7819 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.6804, allocations: 213.5 kB / 0.7821 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.683, allocations: 1.664 MB / 0.7837 GB, free: 460 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.6837, allocations: 1.009 MB / 0.7847 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004605/0.6842, allocations: 122 kB / 0.7848 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.6843, allocations: 43.44 kB / 0.7848 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/0.6843, allocations: 0 / 0.7848 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.01937/0.7037, allocations: 10.63 MB / 0.7952 GB, free: 4.75 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: