Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.001399/0.001399, allocations: 88.72 kB / 19.44 MB, free: 356 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.001569/0.001569, allocations: 157.7 kB / 22.75 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.466/1.466, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.002659/0.002659, allocations: 234.5 kB / 259.8 MB, free: 12.83 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.076/1.076, allocations: 138.4 MB / 454.7 MB, free: 1.438 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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.5543 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.737e-05, allocations: 6.312 kB / 0.5544 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05489/0.05492, allocations: 38.33 MB / 0.5918 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.2261/0.281, allocations: 15.08 MB / 0.6065 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003534/0.2845, allocations: 249.2 kB / 0.6067 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.009771/0.2943, allocations: 4.496 MB / 0.6111 GB, free: 66.61 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00696/0.3012, allocations: 3.008 MB / 0.6141 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.006968/0.3082, allocations: 3.209 MB / 0.6172 GB, free: 65.93 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01346/0.3217, allocations: 11.66 MB / 0.6286 GB, free: 62.04 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00999/0.3317, allocations: 6.733 MB / 0.6352 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.3436, allocations: 6.852 MB / 0.6419 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009028/0.3527, allocations: 5.067 MB / 0.6468 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001788/0.3545, allocations: 0.9666 MB / 0.6478 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004205/0.3587, allocations: 1.943 MB / 0.6497 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003077/0.3617, allocations: 3.981 MB / 0.6535 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.004166/0.3659, allocations: 3.06 MB / 0.6565 GB, free: 49.71 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.3774, allocations: 14.7 MB / 0.6709 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3774, allocations: 0 / 0.6709 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3774, allocations: 0 / 0.6709 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003001/0.3777, allocations: 0 / 0.6709 GB, free: 35.98 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.0146/0.3923, allocations: 7.68 MB / 0.6784 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3923, allocations: 8.75 kB / 0.6784 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.4027, allocations: 2.478 MB / 0.6808 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00744/0.4101, allocations: 4.785 MB / 0.6855 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.4103, allocations: 460.8 kB / 0.6859 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009266/0.4112, allocations: 0.6108 MB / 0.6865 GB, free: 20.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.4253, allocations: 11.58 MB / 0.6978 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001881/0.4255, allocations: 27.91 kB / 0.6979 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007241/0.4262, allocations: 266.4 kB / 0.6981 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002351/0.4286, allocations: 0.7807 MB / 0.6989 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.4412, allocations: 8.533 MB / 0.7072 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06277/0.504, allocations: 30.65 MB / 0.7371 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006986/0.511, allocations: 3.92 MB / 0.741 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006358/0.5173, allocations: 3.325 MB / 0.7442 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003841/0.5177, allocations: 58.78 kB / 0.7443 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.306e-05/0.5178, allocations: 69.34 kB / 0.7443 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=353): time 5.871e-06/0.5178, allocations: 0 / 0.7443 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of matching and sorting (n=578): time 0.7001/1.218, allocations: 108.4 MB / 0.8502 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/1.218, allocations: 109.2 kB / 0.8503 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003342/1.221, allocations: 2.562 MB / 0.8528 GB, free: 212.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0007513/1.222, allocations: 121.2 kB / 0.8529 GB, free: 212.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/1.223, allocations: 2.812 MB / 0.8557 GB, free: 211.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/1.225, allocations: 2.03 MB / 0.8577 GB, free: 210 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002196/1.227, allocations: 0.9525 MB / 0.8586 GB, free: 209.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 3.604e-05/1.227, allocations: 304.9 kB / 0.8589 GB, free: 209.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005089/1.232, allocations: 3.902 MB / 0.8627 GB, free: 207.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006436/1.239, allocations: 5.115 MB / 0.8677 GB, free: 204.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01703/1.256, allocations: 9.836 MB / 0.8773 GB, free: 199.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/1.256, allocations: 8.719 kB / 0.8773 GB, free: 199.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=737) (initialization): time 0.03616/1.292, allocations: 16.48 MB / 0.8934 GB, free: 192.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/1.292, allocations: 19 kB / 0.8934 GB, free: 192.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-05/1.292, allocations: 30.41 kB / 0.8934 GB, free: 192.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03084/1.323, allocations: 9.585 MB / 0.9028 GB, free: 189.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/1.326, allocations: 0.5739 MB / 0.9034 GB, free: 189.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08774/1.413, allocations: 73.04 MB / 0.9747 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004822/1.418, allocations: 255.8 kB / 0.9749 GB, free: 117 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/1.419, allocations: 211.9 kB / 0.9751 GB, free: 116.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (298): * Single equations (assignments): 287 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,51.0%), (14,72,57.1%), (6,40,77.8%), (7,71,71.4%), (8,70,70.3%), (6,40,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004137/1.423, allocations: 2.45 MB / 0.9775 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001789/1.425, allocations: 0.6417 MB / 0.9782 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03283/1.458, allocations: 16.02 MB / 0.9938 GB, free: 97.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/1.458, allocations: 60.84 kB / 0.9939 GB, free: 97.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001796/1.458, allocations: 72 kB / 0.9939 GB, free: 97.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.719e-05/1.458, allocations: 27.89 kB / 0.994 GB, free: 97.37 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04648/1.505, allocations: 22.32 MB / 1.016 GB, free: 74.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.493e-05/1.505, allocations: 4 kB / 1.016 GB, free: 74.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/1.507, allocations: 320.4 kB / 1.016 GB, free: 74.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03034/1.537, allocations: 8.76 MB / 1.025 GB, free: 65.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001036/1.538, allocations: 108 kB / 1.025 GB, free: 65.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2748/1.813, allocations: 69.84 MB / 1.093 GB, free: 187.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.813, allocations: 11.75 kB / 1.093 GB, free: 187.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.038/1.851, allocations: 20.76 MB / 1.113 GB, free: 186.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004313/1.855, allocations: 1.254 MB / 1.114 GB, free: 186 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.856, allocations: 110.6 kB / 1.115 GB, free: 185.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003419/1.86, allocations: 245.8 kB / 1.115 GB, free: 185.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002059/1.862, allocations: 0.5537 MB / 1.115 GB, free: 185.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004066/1.862, allocations: 142.6 kB / 1.115 GB, free: 185.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002772/1.865, allocations: 1.643 MB / 1.117 GB, free: 185.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/1.865, allocations: 1.531 kB / 1.117 GB, free: 185.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.008345/1.873, allocations: 2.402 MB / 1.119 GB, free: 184.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007463/1.874, allocations: 226.1 kB / 1.12 GB, free: 184.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.02259/1.896, allocations: 13.44 MB / 1.133 GB, free: 178.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.896, allocations: 3.969 kB / 1.133 GB, free: 178.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.01547/1.912, allocations: 8.854 MB / 1.141 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006255/1.918, allocations: 1.303 MB / 1.143 GB, free: 173.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02405/1.942, allocations: 15.89 MB / 1.158 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006313/1.949, allocations: 4.389 MB / 1.162 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003444/1.952, allocations: 0.7243 MB / 1.163 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008172/1.953, allocations: 192.2 kB / 1.163 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.753e-06/1.953, allocations: 4 kB / 1.163 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.173/2.126, allocations: 146.4 MB / 1.306 GB, free: 18.92 MB / 0.6511 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.008533926098607]