Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0009554/0.0009554, allocations: 92.2 kB / 20.19 MB, free: 4.367 MB / 18.57 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.001012/0.001012, allocations: 173 kB / 23.5 MB, free: 1.059 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.9319/0.9319, allocations: 177.1 MB / 203.8 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.001767/0.001767, allocations: 236.7 kB / 260.5 MB, free: 12.88 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.7219/0.7219, allocations: 138.4 MB / 455.4 MB, free: 1.59 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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.5551 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.273e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02525/0.02528, allocations: 31.06 MB / 0.5854 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.04077, allocations: 13.79 MB / 0.5989 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.04334, allocations: 186.6 kB / 0.599 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004149/0.04749, allocations: 3.309 MB / 0.6023 GB, free: 404 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.2132/0.2607, allocations: 2.827 MB / 0.605 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.2642, allocations: 2.031 MB / 0.607 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005936/0.2702, allocations: 7.792 MB / 0.6146 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005362/0.2755, allocations: 4.62 MB / 0.6191 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005598/0.2811, allocations: 4.821 MB / 0.6238 GB, free: 62.69 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004436/0.2856, allocations: 3.314 MB / 0.6271 GB, free: 61.94 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.2867, allocations: 0.5953 MB / 0.6277 GB, free: 61.94 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.2892, allocations: 1.414 MB / 0.629 GB, free: 61.76 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002107/0.2913, allocations: 2.571 MB / 0.6316 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002687/0.294, allocations: 2.028 MB / 0.6335 GB, free: 59.76 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004597/0.2986, allocations: 5.343 MB / 0.6388 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2986, allocations: 0.8125 kB / 0.6388 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2986, allocations: 0 / 0.6388 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001311/0.2987, allocations: 1.188 kB / 0.6388 GB, free: 57.76 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.004727/0.3034, allocations: 5.42 MB / 0.644 GB, free: 54.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.3035, allocations: 8.875 kB / 0.6441 GB, free: 54.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.3069, allocations: 1.564 MB / 0.6456 GB, free: 54.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.3096, allocations: 3.015 MB / 0.6485 GB, free: 52.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.3098, allocations: 315.5 kB / 0.6488 GB, free: 52.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003618/0.3101, allocations: 435.5 kB / 0.6492 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004114/0.3142, allocations: 4.734 MB / 0.6539 GB, free: 49.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-05/0.3143, allocations: 19.39 kB / 0.6539 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002612/0.3146, allocations: 189.6 kB / 0.6541 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004129/0.315, allocations: 369.3 kB / 0.6544 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.3176, allocations: 1.621 MB / 0.656 GB, free: 48.64 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01093/0.3285, allocations: 21.19 MB / 0.6767 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.3292, allocations: 0.5689 MB / 0.6772 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/0.3298, allocations: 0.5287 MB / 0.6778 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-05/0.3299, allocations: 21.31 kB / 0.6778 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3299, allocations: 62.16 kB / 0.6778 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=130): time 2.926e-06/0.3299, allocations: 0 / 0.6778 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=199): time 0.009607/0.3395, allocations: 6.612 MB / 0.6843 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.3395, allocations: 73.41 kB / 0.6844 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.3406, allocations: 1.7 MB / 0.686 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.872e-05/0.3406, allocations: 57.7 kB / 0.6861 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/0.3412, allocations: 2.133 MB / 0.6882 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.3415, allocations: 0.713 MB / 0.6889 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003856/0.3419, allocations: 414.4 kB / 0.6893 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.932e-05/0.3419, allocations: 480.8 kB / 0.6897 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006863/0.3426, allocations: 0.512 MB / 0.6902 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008875/0.3435, allocations: 1.322 MB / 0.6915 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.3451, allocations: 2.018 MB / 0.6935 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.3452, allocations: 4 kB / 0.6935 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004422/0.3496, allocations: 3.316 MB / 0.6967 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3496, allocations: 16 kB / 0.6967 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.3496, allocations: 20 kB / 0.6968 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003892/0.3535, allocations: 1.73 MB / 0.6984 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/0.3542, allocations: 378.1 kB / 0.6988 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/0.3727, allocations: 35.84 MB / 0.7338 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.3738, allocations: 131.9 kB / 0.7339 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.3739, allocations: 92.08 kB / 0.734 GB, free: 14.37 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.000921/0.3749, allocations: 296.9 kB / 0.7343 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/0.3752, allocations: 330.4 kB / 0.7346 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004445/0.3796, allocations: 2.893 MB / 0.7374 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3797, allocations: 20 kB / 0.7375 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/0.3797, allocations: 23.92 kB / 0.7375 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.3797, allocations: 7.969 kB / 0.7375 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008135/0.3878, allocations: 6.289 MB / 0.7436 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/0.3878, allocations: 12.05 kB / 0.7436 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.3883, allocations: 224.2 kB / 0.7439 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00379/0.3921, allocations: 1.635 MB / 0.7455 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.53e-05/0.3921, allocations: 40 kB / 0.7455 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/0.4104, allocations: 35.75 MB / 0.7804 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4104, allocations: 11.84 kB / 0.7804 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004393/0.4148, allocations: 3.012 MB / 0.7834 GB, free: 9.531 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006752/0.4154, allocations: 0.5095 MB / 0.7839 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.4157, allocations: 43.94 kB / 0.7839 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006868/0.4164, allocations: 127.8 kB / 0.784 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004364/0.4168, allocations: 201.3 kB / 0.7842 GB, free: 8.668 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.378e-05/0.4169, allocations: 59.94 kB / 0.7843 GB, free: 8.609 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009367/0.4178, allocations: 0.9809 MB / 0.7852 GB, free: 7.613 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4178, allocations: 0 / 0.7852 GB, free: 7.613 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00258/0.4204, allocations: 1.055 MB / 0.7863 GB, free: 6.559 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002525/0.4206, allocations: 164.7 kB / 0.7864 GB, free: 6.402 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005019/0.4257, allocations: 5.417 MB / 0.7917 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4257, allocations: 4 kB / 0.7917 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/0.4289, allocations: 4.569 MB / 0.7962 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.4311, allocations: 0.914 MB / 0.7971 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008769/0.4399, allocations: 7.287 MB / 0.8042 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.4409, allocations: 1.166 MB / 0.8053 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009264/0.4419, allocations: 438.2 kB / 0.8057 GB, free: 2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.4421, allocations: 136.5 kB / 0.8059 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/0.4421, allocations: 0 / 0.8059 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of Templates: time 0.2279/0.6701, allocations: 61.53 MB / 0.866 GB, free: 205.1 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.382082806900144]