Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 104 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 292.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9256/0.9256, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002909/0.002909, allocations: 99.39 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1501, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008191/0.1583, allocations: 6.136 MB / 0.6876 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2461/0.4045, allocations: 3.16 MB / 0.6907 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/0.4049, allocations: 30.09 kB / 0.6907 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.407, allocations: 0.936 MB / 0.6916 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008854/0.4079, allocations: 475.1 kB / 0.6921 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.409, allocations: 0.4957 MB / 0.6926 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.4102, allocations: 1.101 MB / 0.6936 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008145/0.411, allocations: 0.6462 MB / 0.6943 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005215/0.4116, allocations: 436.6 kB / 0.6947 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000523/0.4121, allocations: 475.3 kB / 0.6951 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.935e-05/0.4122, allocations: 62.78 kB / 0.6952 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008577/0.4131, allocations: 492.8 kB / 0.6957 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.4133, allocations: 282.6 kB / 0.6959 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.4137, allocations: 397.2 kB / 0.6963 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.4149, allocations: 1.178 MB / 0.6975 GB, free: 11.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.415, allocations: 0.5625 kB / 0.6975 GB, free: 11.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.415, allocations: 1.188 kB / 0.6975 GB, free: 11.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.415, allocations: 0 / 0.6975 GB, free: 11.26 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001409/0.4164, allocations: 1.068 MB / 0.6985 GB, free: 10.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4164, allocations: 9.453 kB / 0.6985 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.4179, allocations: 219 kB / 0.6987 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.4188, allocations: 0.5998 MB / 0.6993 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.4189, allocations: 46.05 kB / 0.6994 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.419, allocations: 66.73 kB / 0.6994 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.4203, allocations: 1.023 MB / 0.7004 GB, free: 9.445 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.4203, allocations: 15.56 kB / 0.7004 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.4204, allocations: 27.31 kB / 0.7005 GB, free: 9.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.199e-05/0.4205, allocations: 64.8 kB / 0.7005 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.4215, allocations: 0.6949 MB / 0.7012 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003946/0.4255, allocations: 5.736 MB / 0.7068 GB, free: 4.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/0.4263, allocations: 0.6013 MB / 0.7074 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007178/0.427, allocations: 426.1 kB / 0.7078 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.4271, allocations: 3.656 kB / 0.7078 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.4271, allocations: 38.67 kB / 0.7078 GB, free: 3.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.904e-06/0.4271, allocations: 0 / 0.7078 GB, free: 3.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.004143/0.4312, allocations: 2.057 MB / 0.7098 GB, free: 2.633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.4313, allocations: 56.47 kB / 0.7099 GB, free: 2.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.4318, allocations: 464.4 kB / 0.7103 GB, free: 2.355 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.4318, allocations: 35.95 kB / 0.7104 GB, free: 2.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.432, allocations: 388.9 kB / 0.7107 GB, free: 2.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/0.4321, allocations: 153.4 kB / 0.7109 GB, free: 1.891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.4322, allocations: 108.7 kB / 0.711 GB, free: 1.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.4323, allocations: 365.5 kB / 0.7113 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.4327, allocations: 248.1 kB / 0.7116 GB, free: 1.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.4331, allocations: 461.6 kB / 0.712 GB, free: 1.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007876/0.4339, allocations: 0.7579 MB / 0.7128 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4339, allocations: 2.75 kB / 0.7128 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001805/0.4357, allocations: 1.055 MB / 0.7138 GB, free: 100 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4357, allocations: 12.8 kB / 0.7138 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.4358, allocations: 6.875 kB / 0.7138 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.4368, allocations: 334.2 kB / 0.7141 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.4371, allocations: 101 kB / 0.7142 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/0.4438, allocations: 7.507 MB / 0.7216 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.4443, allocations: 30.69 kB / 0.7216 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.4444, allocations: 34.28 kB / 0.7216 GB, free: 9.582 MB / 0.4981 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000348/0.4447, allocations: 245.5 kB / 0.7219 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.386e-05/0.4448, allocations: 68.88 kB / 0.7219 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.4465, allocations: 0.926 MB / 0.7228 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4465, allocations: 4.156 kB / 0.7228 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4465, allocations: 5.062 kB / 0.7228 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4466, allocations: 2.672 kB / 0.7228 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.4493, allocations: 1.708 MB / 0.7245 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.4493, allocations: 1.25 kB / 0.7245 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.4495, allocations: 47.14 kB / 0.7246 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009125/0.4504, allocations: 319.5 kB / 0.7249 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.4505, allocations: 15.41 kB / 0.7249 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006932/0.4574, allocations: 7.498 MB / 0.7322 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.4574, allocations: 1.875 kB / 0.7322 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.4592, allocations: 1.015 MB / 0.7332 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.4595, allocations: 176.6 kB / 0.7334 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/0.4596, allocations: 8.688 kB / 0.7334 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.4599, allocations: 20.86 kB / 0.7334 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.46, allocations: 49.31 kB / 0.7334 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.46, allocations: 9.469 kB / 0.7334 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003555/0.4604, allocations: 320.2 kB / 0.7337 GB, free: 352 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4604, allocations: 0 / 0.7337 GB, free: 352 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008593/0.4613, allocations: 195.2 kB / 0.7339 GB, free: 332 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001437/0.4614, allocations: 114.7 kB / 0.734 GB, free: 224 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001886/0.4633, allocations: 1.206 MB / 0.7352 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4633, allocations: 1.25 kB / 0.7352 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.4645, allocations: 0.864 MB / 0.7361 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.4655, allocations: 205.3 kB / 0.7363 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.4675, allocations: 1.238 MB / 0.7375 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.4681, allocations: 0.9927 MB / 0.7384 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002799/0.4684, allocations: 97.06 kB / 0.7385 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.4685, allocations: 35.5 kB / 0.7386 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.4685, allocations: 0 / 0.7386 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.01737/0.4859, allocations: 9.991 MB / 0.7483 GB, free: 7.773 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)