Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 252 MB / 267.6 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 194.1 kB / 327.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009565/0.0009568, allocations: 99.62 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 9.188 kB / 0.797 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2531, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01596/0.2691, allocations: 18.34 MB / 0.9188 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009351/0.2785, allocations: 6.198 MB / 0.9248 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.2806, allocations: 71.62 kB / 0.9249 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.2816, allocations: 392.8 kB / 0.9252 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.2842, allocations: 0.9599 MB / 0.9262 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.2864, allocations: 0.7643 MB / 0.9269 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004702/0.2911, allocations: 5.473 MB / 0.9323 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00889/0.3, allocations: 6.394 MB / 0.9385 GB, free: 25.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.3037, allocations: 1.514 MB / 0.94 GB, free: 23.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/0.3067, allocations: 1.97 MB / 0.9419 GB, free: 21.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004616/0.3071, allocations: 180 kB / 0.9421 GB, free: 21.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.3088, allocations: 471.5 kB / 0.9425 GB, free: 21.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.31, allocations: 1.348 MB / 0.9439 GB, free: 19.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008038/0.3108, allocations: 0.6485 MB / 0.9445 GB, free: 19.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003879/0.3147, allocations: 5.373 MB / 0.9497 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3147, allocations: 7.938 kB / 0.9497 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3147, allocations: 0 / 0.9497 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001675/0.3149, allocations: 0 / 0.9497 GB, free: 13.62 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005731/0.3206, allocations: 2.847 MB / 0.9525 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3207, allocations: 12.03 kB / 0.9525 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/0.3241, allocations: 0.6401 MB / 0.9532 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/0.3277, allocations: 1.892 MB / 0.955 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.3278, allocations: 225.9 kB / 0.9552 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004696/0.3283, allocations: 295.9 kB / 0.9555 GB, free: 7.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007542/0.3358, allocations: 4.871 MB / 0.9603 GB, free: 2.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-05/0.336, allocations: 11.84 kB / 0.9603 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/0.3362, allocations: 132 kB / 0.9604 GB, free: 2.379 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003939/0.3366, allocations: 225.7 kB / 0.9606 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006116/0.3428, allocations: 3.727 MB / 0.9643 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02534/0.3681, allocations: 21.6 MB / 0.9854 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.37, allocations: 1.297 MB / 0.9866 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.3715, allocations: 1.042 MB / 0.9876 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.948e-05/0.3716, allocations: 9 kB / 0.9876 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.3716, allocations: 47.56 kB / 0.9877 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 3.336e-06/0.3716, allocations: 0 / 0.9877 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=138): time 0.0243/0.3959, allocations: 8.673 MB / 0.9962 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.396, allocations: 68.72 kB / 0.9962 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.3978, allocations: 1.115 MB / 0.9973 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.398, allocations: 45.7 kB / 0.9974 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008705/0.3988, allocations: 1.308 MB / 0.9986 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004481/0.3993, allocations: 473.1 kB / 0.9991 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.3994, allocations: 32 kB / 0.9991 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3996, allocations: 373.9 kB / 0.9995 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.4009, allocations: 0.9096 MB / 1 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.4025, allocations: 1.315 MB / 1.002 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.404, allocations: 1.135 MB / 1.003 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.404, allocations: 4 kB / 1.003 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00613/0.4101, allocations: 3.453 MB / 1.006 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.4102, allocations: 12 kB / 1.006 GB, free: 1.199 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.4102, allocations: 12 kB / 1.006 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/0.4135, allocations: 1.183 MB / 1.007 GB, free: 0 / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/0.4145, allocations: 263.5 kB / 1.008 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01628/0.4308, allocations: 12.7 MB / 1.02 GB, free: 2.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.4324, allocations: 87.91 kB / 1.02 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.4325, allocations: 60 kB / 1.02 GB, free: 2.496 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002114/0.4346, allocations: 1.118 MB / 1.021 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003397/0.435, allocations: 162 kB / 1.021 GB, free: 1.207 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005572/0.4406, allocations: 3.158 MB / 1.024 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.4406, allocations: 15.94 kB / 1.024 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.4406, allocations: 12 kB / 1.024 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.4406, allocations: 7.969 kB / 1.024 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.4512, allocations: 6.237 MB / 1.031 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/0.4513, allocations: 4 kB / 1.031 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.4519, allocations: 147.8 kB / 1.031 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/0.4548, allocations: 1.074 MB / 1.032 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.455, allocations: 31.95 kB / 1.032 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/0.4708, allocations: 12.43 MB / 1.044 GB, free: 9.535 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.456e-05/0.4709, allocations: 4 kB / 1.044 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005501/0.4764, allocations: 3.139 MB / 1.047 GB, free: 6.309 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.4774, allocations: 427 kB / 1.047 GB, free: 5.871 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004172/0.4779, allocations: 31.98 kB / 1.047 GB, free: 5.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.479, allocations: 79.91 kB / 1.048 GB, free: 5.762 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000397/0.4794, allocations: 128.7 kB / 1.048 GB, free: 5.633 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.4795, allocations: 36 kB / 1.048 GB, free: 5.598 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001432/0.4809, allocations: 0.7554 MB / 1.048 GB, free: 4.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.481, allocations: 3.938 kB / 1.048 GB, free: 4.836 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002673/0.4836, allocations: 0.6641 MB / 1.049 GB, free: 4.172 MB / 0.698 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003292/0.484, allocations: 139.1 kB / 1.049 GB, free: 4.023 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005311/0.4893, allocations: 3.127 MB / 1.052 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.4893, allocations: 0 / 1.052 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.4486/0.9379, allocations: 1.959 MB / 1.054 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.9407, allocations: 475.5 kB / 1.055 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009989/0.9507, allocations: 6.882 MB / 1.061 GB, free: 135.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003252/0.954, allocations: 2.389 MB / 1.064 GB, free: 135.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.9546, allocations: 95.08 kB / 1.064 GB, free: 135.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.273e-06/0.9546, allocations: 0.75 kB / 1.064 GB, free: 135.1 MB / 0.698 GB Notification: Performance of Templates: time 0.08194/1.037, allocations: 79.21 MB / 1.141 GB, free: 74.12 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)