Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001185/0.001185, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001825/0.00301, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00129/0.00129, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.002993, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.936/0.936, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09191/1.028, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001349/0.001349, allocations: 241.7 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.002535, allocations: 455.6 kB / 244.6 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6929/0.6929, allocations: 138.7 MB / 384.1 MB, free: 484 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09058/0.7835, allocations: 42.4 MB / 426.5 MB, free: 5.953 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 427.8 MB, free: 4.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.313e-05, allocations: 2.312 kB / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.2045/0.2045, allocations: 20.2 MB / 448 MB, free: 10.15 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009732/0.2142, allocations: 5.956 MB / 454 MB, free: 5.785 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.2158, allocations: 192.2 kB / 454.1 MB, free: 5.695 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.2171, allocations: 0.8867 MB / 455 MB, free: 4.941 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.2197, allocations: 2.233 MB / 457.3 MB, free: 3.094 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.2218, allocations: 1.642 MB / 458.9 MB, free: 1.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005911/0.2277, allocations: 9.117 MB / 468 MB, free: 8.805 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004169/0.2319, allocations: 5.356 MB / 473.4 MB, free: 3.312 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004178/0.2361, allocations: 5.458 MB / 478.8 MB, free: 13.84 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.2394, allocations: 4.211 MB / 483 MB, free: 9.645 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005937/0.24, allocations: 0.6764 MB / 483.7 MB, free: 8.969 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009408/0.241, allocations: 0.762 MB / 484.5 MB, free: 8.207 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.2425, allocations: 2.69 MB / 487.2 MB, free: 5.512 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.2441, allocations: 1.847 MB / 489 MB, free: 3.664 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003392/0.2475, allocations: 5.111 MB / 494.1 MB, free: 14.54 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.529e-05/0.2475, allocations: 0 / 494.1 MB, free: 14.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2475, allocations: 0 / 494.1 MB, free: 14.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.339e-05/0.2476, allocations: 0 / 494.1 MB, free: 14.54 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.005473/0.2531, allocations: 6.282 MB / 0.4887 GB, free: 8.223 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.2531, allocations: 8.75 kB / 0.4887 GB, free: 8.215 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.2552, allocations: 1.246 MB / 0.4899 GB, free: 6.953 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.2577, allocations: 2.479 MB / 0.4923 GB, free: 4.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.2578, allocations: 358.5 kB / 0.4927 GB, free: 4.078 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004313/0.2583, allocations: 488.3 kB / 0.4931 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003861/0.2621, allocations: 4.894 MB / 0.4979 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.481e-05/0.2622, allocations: 23.98 kB / 0.4979 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.2625, allocations: 208.3 kB / 0.4981 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002903/0.2628, allocations: 369.8 kB / 0.4985 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.2645, allocations: 1.297 MB / 0.4998 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.2769, allocations: 18.81 MB / 0.5181 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.2779, allocations: 0.7785 MB / 0.5189 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.2784, allocations: 485.3 kB / 0.5193 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-05/0.2785, allocations: 25.31 kB / 0.5194 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.2785, allocations: 54.5 kB / 0.5194 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=157): time 3.737e-06/0.2785, allocations: 0 / 0.5194 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.004193/0.2827, allocations: 2.766 MB / 0.5221 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.2827, allocations: 76.59 kB / 0.5222 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008726/0.2836, allocations: 1.463 MB / 0.5236 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.516e-05/0.2837, allocations: 53.7 kB / 0.5237 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000745/0.2844, allocations: 1.939 MB / 0.5256 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.2847, allocations: 0.5809 MB / 0.5261 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/0.2851, allocations: 379.8 kB / 0.5265 GB, free: 196 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.2851, allocations: 305.1 kB / 0.5268 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.2854, allocations: 236.3 kB / 0.527 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.286, allocations: 0.9399 MB / 0.5279 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.2871, allocations: 1.424 MB / 0.5293 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/0.2871, allocations: 8 kB / 0.5293 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.001972/0.2891, allocations: 1.761 MB / 0.5311 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.2891, allocations: 13.25 kB / 0.5311 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.2892, allocations: 24 kB / 0.5311 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.2905, allocations: 0.6961 MB / 0.5318 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008212/0.2913, allocations: 431.9 kB / 0.5322 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008151/0.2995, allocations: 16.16 MB / 0.548 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/0.3001, allocations: 64 kB / 0.548 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-05/0.3002, allocations: 74 kB / 0.5481 GB, free: 8.277 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.0008403/0.3011, allocations: 256 kB / 0.5483 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.3013, allocations: 215.7 kB / 0.5485 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.3029, allocations: 1.366 MB / 0.5499 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.3029, allocations: 17.36 kB / 0.5499 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3029, allocations: 16 kB / 0.5499 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.303, allocations: 7.969 kB / 0.5499 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/0.3069, allocations: 3.109 MB / 0.5529 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.3069, allocations: 4.562 kB / 0.553 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.3074, allocations: 199.7 kB / 0.5531 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.3078, allocations: 334.3 kB / 0.5535 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/0.3091, allocations: 0.6619 MB / 0.5541 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.3092, allocations: 35.94 kB / 0.5541 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008211/0.3174, allocations: 16.12 MB / 0.5699 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3174, allocations: 4 kB / 0.5699 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.3191, allocations: 1.527 MB / 0.5714 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.3193, allocations: 32 kB / 0.5714 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.3197, allocations: 36.19 kB / 0.5714 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.3199, allocations: 144.9 kB / 0.5716 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/0.3199, allocations: 40 kB / 0.5716 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004932/0.3204, allocations: 0.7108 MB / 0.5723 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.3204, allocations: 4 kB / 0.5723 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001892/0.3223, allocations: 0.9375 MB / 0.5732 GB, free: 12.98 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.0002022/0.3225, allocations: 136.2 kB / 0.5734 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.3248, allocations: 2.801 MB / 0.5761 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.826e-05/0.3249, allocations: 49.69 kB / 0.5761 GB, free: 9.832 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.3264, allocations: 2.217 MB / 0.5783 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.328, allocations: 0.9493 MB / 0.5792 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/0.3577, allocations: 7.515 MB / 0.5866 GB, free: 14.92 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000958/0.3587, allocations: 1.176 MB / 0.5877 GB, free: 13.72 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008098/0.3595, allocations: 293.2 kB / 0.588 GB, free: 13.45 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000996/0.3605, allocations: 0.6552 MB / 0.5886 GB, free: 12.78 MB / 0.573 GB Notification: Performance of SimCode: time 1.363e-06/0.3605, allocations: 0 / 0.5886 GB, free: 12.78 MB / 0.573 GB Notification: Performance of Templates: time 0.0517/0.4122, allocations: 47.13 MB / 0.6347 GB, free: 14.7 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.504618396982551]