Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.438/2.438, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001421, allocations: 184.2 kB / 325.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.679/2.679, allocations: 205.4 MB / 0.5767 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009487/0.0009482, allocations: 86.42 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000661/0.0006611, allocations: 11.53 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2214, allocations: 106.3 MB / 0.8991 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05243/0.2739, allocations: 37.44 MB / 0.9356 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03141/0.3054, allocations: 14.38 MB / 0.9497 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005089/0.3105, allocations: 163.1 kB / 0.9498 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004144/0.3148, allocations: 0.8371 MB / 0.9506 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008765/0.3236, allocations: 2.324 MB / 0.9529 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00835/0.332, allocations: 1.917 MB / 0.9548 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01886/0.3509, allocations: 12.75 MB / 0.9672 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03792/0.3888, allocations: 14.57 MB / 0.9815 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009669/0.3986, allocations: 3.552 MB / 0.9849 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01215/0.4108, allocations: 4.641 MB / 0.9895 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002869/0.4137, allocations: 396 kB / 0.9898 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006098/0.4199, allocations: 0.8859 MB / 0.9907 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.007296/0.4272, allocations: 2.962 MB / 0.9936 GB, free: 320 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004552/0.4318, allocations: 1.381 MB / 0.9949 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.02084/0.4527, allocations: 11.75 MB / 1.006 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.358e-05/0.4528, allocations: 3.984 kB / 1.006 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.996e-06/0.4528, allocations: 0 / 1.006 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005173/0.4533, allocations: 0 / 1.006 GB, free: 3.133 MB / 0.6511 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.0298/0.4832, allocations: 6.224 MB / 1.013 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4832, allocations: 12.03 kB / 1.013 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.4994, allocations: 1.518 MB / 1.014 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01478/0.5143, allocations: 4.098 MB / 1.018 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007154/0.515, allocations: 456.5 kB / 1.018 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003097/0.5181, allocations: 0.5978 MB / 1.019 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03591/0.5541, allocations: 10.63 MB / 1.029 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004407/0.5546, allocations: 31.7 kB / 1.029 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002637/0.5573, allocations: 267.9 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005621/0.5629, allocations: 0.7729 MB / 1.03 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03043/0.5934, allocations: 8.51 MB / 1.039 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7581/1.352, allocations: 46.97 MB / 1.085 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/1.366, allocations: 4.297 MB / 1.089 GB, free: 106.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01263/1.378, allocations: 3.677 MB / 1.092 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008566/1.379, allocations: 36.81 kB / 1.092 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/1.379, allocations: 78.8 kB / 1.093 GB, free: 105.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 1.097e-05/1.38, allocations: 0 / 1.093 GB, free: 105.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 1.161/2.54, allocations: 127.9 MB / 1.217 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001781/2.54, allocations: 115.9 kB / 1.218 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00978/2.55, allocations: 2.661 MB / 1.22 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00192/2.552, allocations: 121.7 kB / 1.22 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004193/2.557, allocations: 2.682 MB / 1.223 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00522/2.562, allocations: 1.949 MB / 1.225 GB, free: 52 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001947/2.564, allocations: 108 kB / 1.225 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0008512/2.565, allocations: 0.5295 MB / 1.225 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01763/2.582, allocations: 4.052 MB / 1.229 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01778/2.6, allocations: 5.004 MB / 1.234 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/2.616, allocations: 4.811 MB / 1.239 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.444e-05/2.616, allocations: 8 kB / 1.239 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.07671/2.693, allocations: 16.95 MB / 1.255 GB, free: 100 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/2.693, allocations: 16 kB / 1.255 GB, free: 84 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.205e-05/2.693, allocations: 20 kB / 1.256 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06139/2.754, allocations: 9.05 MB / 1.264 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004763/2.759, allocations: 0.5264 MB / 1.265 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1926/2.952, allocations: 70.62 MB / 1.334 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008114/2.96, allocations: 279.7 kB / 1.334 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00179/2.962, allocations: 192 kB / 1.334 GB, free: 13.88 MB / 0.8386 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008789/2.97, allocations: 2.43 MB / 1.337 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002521/2.973, allocations: 470.5 kB / 1.337 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07692/3.05, allocations: 16.77 MB / 1.353 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.304e-05/3.05, allocations: 59.94 kB / 1.354 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002583/3.05, allocations: 72 kB / 1.354 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001572/3.051, allocations: 27.89 kB / 1.354 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1027/3.153, allocations: 25.63 MB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.665e-05/3.153, allocations: 4 kB / 1.379 GB, free: 36 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.7208/3.874, allocations: 323.2 kB / 1.379 GB, free: 284.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05471/3.929, allocations: 8.255 MB / 1.387 GB, free: 284.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001385/3.93, allocations: 111.3 kB / 1.387 GB, free: 284.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1835/4.114, allocations: 67.46 MB / 1.453 GB, free: 254 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/4.114, allocations: 11.44 kB / 1.453 GB, free: 254 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07306/4.187, allocations: 21.51 MB / 1.474 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005087/4.192, allocations: 1.366 MB / 1.475 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002348/4.195, allocations: 108 kB / 1.475 GB, free: 231 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007073/4.202, allocations: 287.6 kB / 1.476 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003307/4.205, allocations: 0.5221 MB / 1.476 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001408/4.207, allocations: 144 kB / 1.476 GB, free: 230 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004217/4.211, allocations: 1.749 MB / 1.478 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.91e-07/4.211, allocations: 0 / 1.478 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0127/4.224, allocations: 2.441 MB / 1.48 GB, free: 225.8 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00182/4.226, allocations: 242 kB / 1.481 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.04816/4.274, allocations: 14.49 MB / 1.495 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.918e-05/4.274, allocations: 3.938 kB / 1.495 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.03989/4.314, allocations: 9.368 MB / 1.504 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01515/4.329, allocations: 1.278 MB / 1.505 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04335/4.372, allocations: 18.08 MB / 1.523 GB, free: 182 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/4.383, allocations: 4.9 MB / 1.528 GB, free: 177 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004712/4.387, allocations: 0.7449 MB / 1.528 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/4.389, allocations: 199.4 kB / 1.529 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.274e-06/4.389, allocations: 0 / 1.529 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.3489/4.738, allocations: 135.3 MB / 1.661 GB, free: 41.43 MB / 0.8698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)