Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001378/0.001378, allocations: 84.73 kB / 19.44 MB, free: 360 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.001554/0.001554, allocations: 157.7 kB / 22.76 MB, free: 1.684 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 1.458/1.458, allocations: 177.2 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.002743/0.002743, allocations: 233 kB / 259.8 MB, free: 12.85 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 1.084/1.084, allocations: 138.5 MB / 454.7 MB, free: 1.496 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5544 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.99e-05, allocations: 6.312 kB / 0.5544 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04412/0.04415, allocations: 30.8 MB / 0.5844 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02114/0.06529, allocations: 10.18 MB / 0.5944 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002874/0.06817, allocations: 194.6 kB / 0.5946 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.07899, allocations: 3.753 MB / 0.5982 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005916/0.0849, allocations: 2 MB / 0.6002 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.2152/0.3001, allocations: 2.154 MB / 0.6023 GB, free: 67.28 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006929/0.3071, allocations: 7.454 MB / 0.6096 GB, free: 66.51 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006013/0.3131, allocations: 5.115 MB / 0.6146 GB, free: 65.89 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006378/0.3195, allocations: 4.584 MB / 0.619 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004956/0.3244, allocations: 3.239 MB / 0.6222 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.3256, allocations: 0.6476 MB / 0.6228 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.329, allocations: 1.677 MB / 0.6245 GB, free: 65.21 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002785/0.3318, allocations: 2.734 MB / 0.6271 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002996/0.3348, allocations: 2.016 MB / 0.6291 GB, free: 63.16 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.009568/0.3444, allocations: 10.33 MB / 0.6392 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3444, allocations: 0.875 kB / 0.6392 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3444, allocations: 0 / 0.6392 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001926/0.3445, allocations: 3.969 kB / 0.6392 GB, free: 59.89 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008271/0.3528, allocations: 4.991 MB / 0.6441 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3529, allocations: 10.78 kB / 0.6441 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005521/0.3584, allocations: 1.589 MB / 0.6456 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004711/0.3631, allocations: 3.177 MB / 0.6487 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.3633, allocations: 348 kB / 0.6491 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006531/0.3639, allocations: 468.1 kB / 0.6495 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009498/0.3734, allocations: 7.97 MB / 0.6573 GB, free: 47.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.3735, allocations: 30.69 kB / 0.6573 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004521/0.374, allocations: 204.3 kB / 0.6575 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002313/0.3742, allocations: 316.9 kB / 0.6578 GB, free: 47.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006692/0.3809, allocations: 5.701 MB / 0.6634 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01867/0.3996, allocations: 22.05 MB / 0.6849 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.4015, allocations: 1.553 MB / 0.6864 GB, free: 17.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.4026, allocations: 1.128 MB / 0.6875 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.874e-05/0.4027, allocations: 23.05 kB / 0.6876 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.4027, allocations: 47.53 kB / 0.6876 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=133): time 2.986e-06/0.4027, allocations: 0 / 0.6876 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=136): time 0.01126/0.414, allocations: 6.244 MB / 0.6937 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.414, allocations: 64.72 kB / 0.6938 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.4154, allocations: 1.419 MB / 0.6952 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.9e-05/0.4155, allocations: 45.7 kB / 0.6952 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006699/0.4162, allocations: 2.059 MB / 0.6972 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.4164, allocations: 0.4951 MB / 0.6977 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004277/0.4168, allocations: 343.3 kB / 0.698 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.108e-05/0.4169, allocations: 305.1 kB / 0.6983 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.4179, allocations: 0.9174 MB / 0.6992 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.4192, allocations: 1.603 MB / 0.7008 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.4217, allocations: 2.728 MB / 0.7034 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.4217, allocations: 8 kB / 0.7034 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006945/0.4287, allocations: 3.587 MB / 0.707 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.4287, allocations: 12 kB / 0.707 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/0.4287, allocations: 28.16 kB / 0.707 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003462/0.4322, allocations: 1.006 MB / 0.708 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.4334, allocations: 351.1 kB / 0.7083 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02733/0.4607, allocations: 21.52 MB / 0.7293 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.4623, allocations: 99.97 kB / 0.7294 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002707/0.4626, allocations: 97.98 kB / 0.7295 GB, free: 4.293 MB / 0.5417 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003422/0.466, allocations: 1.606 MB / 0.7311 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006174/0.4666, allocations: 242.8 kB / 0.7313 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006311/0.4729, allocations: 2.961 MB / 0.7342 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.4729, allocations: 19.98 kB / 0.7342 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.038e-05/0.473, allocations: 12 kB / 0.7342 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.473, allocations: 3.984 kB / 0.7342 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.4873, allocations: 6 MB / 0.7401 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.4873, allocations: 4 kB / 0.7401 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008834/0.4882, allocations: 178.2 kB / 0.7403 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003414/0.4916, allocations: 0.9284 MB / 0.7412 GB, free: 8.277 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.4918, allocations: 24 kB / 0.7412 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02557/0.5173, allocations: 20.39 MB / 0.7611 GB, free: 2.738 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.5173, allocations: 11.41 kB / 0.7611 GB, free: 2.73 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006486/0.5238, allocations: 3.036 MB / 0.7641 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.525, allocations: 386.5 kB / 0.7645 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004251/0.5254, allocations: 31.92 kB / 0.7645 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/0.5264, allocations: 71.92 kB / 0.7646 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/0.5268, allocations: 131.5 kB / 0.7647 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5269, allocations: 36 kB / 0.7647 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001729/0.5286, allocations: 0.902 MB / 0.7656 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.5286, allocations: 0 / 0.7656 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003162/0.5318, allocations: 0.7969 MB / 0.7664 GB, free: 13.3 MB / 0.5886 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002819/0.5321, allocations: 141.6 kB / 0.7665 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.006711/0.5388, allocations: 3.917 MB / 0.7703 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5388, allocations: 3.938 kB / 0.7703 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004462/0.5433, allocations: 2.665 MB / 0.7729 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/0.5466, allocations: 0.7165 MB / 0.7736 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.562, allocations: 7.451 MB / 0.7809 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004599/0.5666, allocations: 2.56 MB / 0.7834 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00148/0.5681, allocations: 457.2 kB / 0.7839 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.5685, allocations: 108.5 kB / 0.784 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of SimCode: time 1.423e-06/0.5685, allocations: 0 / 0.784 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.06883/0.6373, allocations: 36.42 MB / 0.8195 GB, free: 7.496 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.976891664089635]