Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9825/0.9825, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001748/0.001748, allocations: 237 kB / 260.2 MB, free: 12.81 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7072/0.7072, allocations: 138.4 MB / 455.2 MB, free: 1.527 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5551 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.43e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.009226/0.00925, allocations: 10.56 MB / 0.5654 GB, free: 5.883 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008379/0.01763, allocations: 6.932 MB / 0.5722 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009221/0.01855, allocations: 79.31 kB / 0.5723 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009606/0.01951, allocations: 392.9 kB / 0.5727 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003111/0.02262, allocations: 1.703 MB / 0.5743 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.0237, allocations: 0.655 MB / 0.575 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002824/0.02652, allocations: 2.859 MB / 0.5778 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.02776, allocations: 1.199 MB / 0.5789 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.02961, allocations: 1.992 MB / 0.5809 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.03067, allocations: 1.025 MB / 0.5819 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.03084, allocations: 160 kB / 0.582 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.03135, allocations: 315.6 kB / 0.5823 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004054/0.03175, allocations: 0.6503 MB / 0.583 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.03228, allocations: 0.6546 MB / 0.5836 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.03387, allocations: 1.557 MB / 0.5851 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.03388, allocations: 0 / 0.5851 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.03388, allocations: 0 / 0.5851 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.0339, allocations: 4 kB / 0.5851 GB, free: 1.629 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002119/0.03602, allocations: 2.194 MB / 0.5873 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.03606, allocations: 8.75 kB / 0.5873 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004697/0.04076, allocations: 1.797 MB / 0.589 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.04232, allocations: 1.27 MB / 0.5903 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.972e-05/0.04239, allocations: 82.69 kB / 0.5903 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/0.04265, allocations: 128.4 kB / 0.5905 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.04523, allocations: 2.159 MB / 0.5926 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.04526, allocations: 11.89 kB / 0.5926 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.04537, allocations: 51.98 kB / 0.5926 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003375/0.04571, allocations: 194.1 kB / 0.5928 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.04698, allocations: 0.8563 MB / 0.5937 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2003/0.2472, allocations: 8.333 MB / 0.6018 GB, free: 82.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.249, allocations: 0.8316 MB / 0.6026 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005057/0.2495, allocations: 373.7 kB / 0.603 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/0.2495, allocations: 15.44 kB / 0.603 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2496, allocations: 47.67 kB / 0.603 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=89): time 2.815e-06/0.2496, allocations: 0 / 0.603 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=153): time 0.01085/0.2604, allocations: 5.911 MB / 0.6088 GB, free: 81.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.2604, allocations: 73.78 kB / 0.6089 GB, free: 81.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007881/0.2612, allocations: 1.006 MB / 0.6099 GB, free: 81.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.867e-05/0.2613, allocations: 52.64 kB / 0.6099 GB, free: 81.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.2617, allocations: 0.8067 MB / 0.6107 GB, free: 80.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.262, allocations: 0.5425 MB / 0.6112 GB, free: 80.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/0.2623, allocations: 287 kB / 0.6115 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.225e-05/0.2624, allocations: 482.1 kB / 0.612 GB, free: 80.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007457/0.2631, allocations: 493 kB / 0.6124 GB, free: 80.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008639/0.264, allocations: 0.8498 MB / 0.6133 GB, free: 79.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.2657, allocations: 1.385 MB / 0.6146 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2657, allocations: 2.938 kB / 0.6146 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.005286/0.271, allocations: 2.798 MB / 0.6173 GB, free: 78.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.2711, allocations: 8.469 kB / 0.6174 GB, free: 78.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.2711, allocations: 7.672 kB / 0.6174 GB, free: 78.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005069/0.2761, allocations: 1.679 MB / 0.619 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/0.277, allocations: 302.4 kB / 0.6193 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.2907, allocations: 19.39 MB / 0.6382 GB, free: 63.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.292, allocations: 193.6 kB / 0.6384 GB, free: 63.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.2921, allocations: 66.03 kB / 0.6385 GB, free: 63.42 MB / 0.5105 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004546/0.2926, allocations: 240.2 kB / 0.6387 GB, free: 63.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.2929, allocations: 216.4 kB / 0.6389 GB, free: 63.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/0.2979, allocations: 2.72 MB / 0.6416 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.2979, allocations: 14.69 kB / 0.6416 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.942e-05/0.2979, allocations: 20.27 kB / 0.6416 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.2979, allocations: 10.03 kB / 0.6416 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006213/0.3041, allocations: 4.091 MB / 0.6456 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3041, allocations: 3.281 kB / 0.6456 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.3047, allocations: 240.5 kB / 0.6458 GB, free: 60.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004122/0.3089, allocations: 1.607 MB / 0.6474 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.216e-05/0.309, allocations: 45.47 kB / 0.6474 GB, free: 60.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/0.3203, allocations: 19.28 MB / 0.6663 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3204, allocations: 6.938 kB / 0.6663 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003938/0.3243, allocations: 2.608 MB / 0.6688 GB, free: 42.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005581/0.3248, allocations: 394.7 kB / 0.6692 GB, free: 41.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.325, allocations: 28 kB / 0.6692 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007664/0.3257, allocations: 211.7 kB / 0.6694 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/0.3261, allocations: 155.9 kB / 0.6696 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.801e-05/0.3262, allocations: 55.95 kB / 0.6696 GB, free: 41.44 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004657/0.3266, allocations: 0.6136 MB / 0.6702 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.3266, allocations: 0 / 0.6702 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00157/0.3282, allocations: 0.6537 MB / 0.6709 GB, free: 40.17 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002292/0.3284, allocations: 147.3 kB / 0.671 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003481/0.3319, allocations: 3.422 MB / 0.6743 GB, free: 36.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3319, allocations: 128 / 0.6743 GB, free: 36.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002422/0.3343, allocations: 2.804 MB / 0.6771 GB, free: 33.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.3359, allocations: 0.5267 MB / 0.6776 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/0.3412, allocations: 3.209 MB / 0.6807 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.3418, allocations: 0.5082 MB / 0.6812 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009943/0.3428, allocations: 317.3 kB / 0.6815 GB, free: 29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.343, allocations: 96.44 kB / 0.6816 GB, free: 28.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.244e-06/0.3431, allocations: 0 / 0.6816 GB, free: 28.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.04667/0.3897, allocations: 47.56 MB / 0.7281 GB, free: 14.23 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.729982564691454]