Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 103 kB / 16.4 MB, free: 6.461 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.001747/0.001747, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002273/0.002273, allocations: 294.2 kB / 291.5 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.9386/0.9386, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 91.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4542, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007401/0.4616, allocations: 5.537 MB / 0.7725 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004554/0.4662, allocations: 2.634 MB / 0.775 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005316/0.4667, allocations: 23.88 kB / 0.7751 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.4687, allocations: 0.6749 MB / 0.7757 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.4698, allocations: 429.7 kB / 0.7761 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.4708, allocations: 407 kB / 0.7765 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.472, allocations: 0.9591 MB / 0.7775 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006808/0.4727, allocations: 470.5 kB / 0.7779 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005255/0.4732, allocations: 386.5 kB / 0.7783 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004826/0.4737, allocations: 402.5 kB / 0.7787 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.885e-05/0.4738, allocations: 48 kB / 0.7787 GB, free: 7.949 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006424/0.4745, allocations: 359.2 kB / 0.779 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.4747, allocations: 259.3 kB / 0.7793 GB, free: 7.344 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.475, allocations: 350.2 kB / 0.7796 GB, free: 7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009795/0.476, allocations: 0.9719 MB / 0.7806 GB, free: 6.027 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.476, allocations: 0 / 0.7806 GB, free: 6.027 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.476, allocations: 4 kB / 0.7806 GB, free: 6.023 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.4761, allocations: 0 / 0.7806 GB, free: 6.023 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001497/0.4776, allocations: 0.9737 MB / 0.7815 GB, free: 5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.4776, allocations: 8.031 kB / 0.7815 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.479, allocations: 187.9 kB / 0.7817 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007296/0.4797, allocations: 0.545 MB / 0.7822 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.4798, allocations: 41.31 kB / 0.7823 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.4799, allocations: 52.55 kB / 0.7823 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.481, allocations: 0.8318 MB / 0.7831 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.4811, allocations: 4 kB / 0.7832 GB, free: 3.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.4811, allocations: 20 kB / 0.7832 GB, free: 3.199 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.4813, allocations: 64.95 kB / 0.7832 GB, free: 3.137 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.4822, allocations: 0.5735 MB / 0.7838 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004155/0.4863, allocations: 4.577 MB / 0.7883 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.4868, allocations: 295.3 kB / 0.7885 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.4871, allocations: 221.3 kB / 0.7888 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.4871, allocations: 4.281 kB / 0.7888 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.4872, allocations: 42.78 kB / 0.7888 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.4872, allocations: 0 / 0.7888 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005486/0.4927, allocations: 2.623 MB / 0.7914 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.4927, allocations: 59.34 kB / 0.7914 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.4932, allocations: 466 kB / 0.7919 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.4933, allocations: 29.7 kB / 0.7919 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.4935, allocations: 351.6 kB / 0.7922 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.4936, allocations: 141.9 kB / 0.7924 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.4938, allocations: 106.2 kB / 0.7925 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4939, allocations: 358.8 kB / 0.7928 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.4943, allocations: 241 kB / 0.793 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.4948, allocations: 402.5 kB / 0.7934 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/0.4956, allocations: 0.6778 MB / 0.7941 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4956, allocations: 0 / 0.7941 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001606/0.4972, allocations: 0.9248 MB / 0.795 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4973, allocations: 8 kB / 0.795 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.4973, allocations: 8.641 kB / 0.795 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007711/0.4981, allocations: 226.4 kB / 0.7952 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/0.4986, allocations: 111.8 kB / 0.7953 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005118/0.5037, allocations: 5.347 MB / 0.8005 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.5042, allocations: 32.03 kB / 0.8006 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.5042, allocations: 24 kB / 0.8006 GB, free: 204 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,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.0002866/0.5045, allocations: 225.7 kB / 0.8008 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.983e-05/0.5046, allocations: 59.28 kB / 0.8009 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.5061, allocations: 0.7743 MB / 0.8016 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.5061, allocations: 7.984 kB / 0.8016 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5061, allocations: 4 kB / 0.8016 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.5061, allocations: 3.984 kB / 0.8016 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.5085, allocations: 1.497 MB / 0.8031 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5085, allocations: 7.938 kB / 0.8031 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.5089, allocations: 67.88 kB / 0.8032 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006767/0.5096, allocations: 202.6 kB / 0.8034 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.5096, allocations: 12 kB / 0.8034 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004881/0.5145, allocations: 5.265 MB / 0.8085 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5145, allocations: 4.031 kB / 0.8085 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.5164, allocations: 1.132 MB / 0.8096 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.5166, allocations: 172.4 kB / 0.8098 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.282e-05/0.5167, allocations: 11.94 kB / 0.8098 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.517, allocations: 23.97 kB / 0.8098 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.5171, allocations: 40.02 kB / 0.8099 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.5171, allocations: 8 kB / 0.8099 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003285/0.5175, allocations: 318.9 kB / 0.8102 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5175, allocations: 0 / 0.8102 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006481/0.5181, allocations: 168 kB / 0.8103 GB, free: 5.613 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.5183, allocations: 115.3 kB / 0.8104 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.5199, allocations: 1.016 MB / 0.8114 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5199, allocations: 0 / 0.8114 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000938/0.5208, allocations: 0.6773 MB / 0.8121 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/0.5217, allocations: 189.6 kB / 0.8123 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.5236, allocations: 1.322 MB / 0.8136 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.5241, allocations: 0.9455 MB / 0.8145 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.5242, allocations: 47.44 kB / 0.8145 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.5242, allocations: 0 / 0.8145 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of Templates: time 0.01654/0.5408, allocations: 14.95 MB / 0.8291 GB, free: 2.246 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)