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.ACLineMatrix_RL_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000818/0.0008177, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.0008479/0.0008479, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.527/1.527, allocations: 252 MB / 0.5102 GB, free: 4.789 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005279/0.0005283, allocations: 12 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6098/0.6104, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02243/0.6329, allocations: 21.24 MB / 0.7489 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.646, allocations: 6.23 MB / 0.755 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.6491, allocations: 79.5 kB / 0.7551 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.6509, allocations: 460.5 kB / 0.7555 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005229/0.6561, allocations: 1.54 MB / 0.757 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.6596, allocations: 0.9153 MB / 0.7579 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009896/0.6695, allocations: 8.17 MB / 0.7659 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01162/0.6812, allocations: 7.082 MB / 0.7728 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004892/0.6861, allocations: 2.117 MB / 0.7749 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005919/0.692, allocations: 3.123 MB / 0.7779 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007238/0.6928, allocations: 244 kB / 0.7781 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.6949, allocations: 0.5892 MB / 0.7787 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002257/0.6971, allocations: 2.093 MB / 0.7808 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.6985, allocations: 0.8394 MB / 0.7816 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007786/0.7063, allocations: 7.003 MB / 0.7884 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.7063, allocations: 0 / 0.7884 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.658e-06/0.7064, allocations: 4 kB / 0.7884 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002655/0.7066, allocations: 0 / 0.7884 GB, free: 13.45 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01054/0.7172, allocations: 3.613 MB / 0.7919 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.7173, allocations: 8.031 kB / 0.792 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009057/0.7263, allocations: 1.695 MB / 0.7936 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006244/0.7326, allocations: 2.509 MB / 0.7961 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.7329, allocations: 275.3 kB / 0.7963 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.7339, allocations: 359.9 kB / 0.7967 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.7481, allocations: 7.455 MB / 0.8039 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.263e-05/0.7482, allocations: 7.938 kB / 0.804 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004325/0.7486, allocations: 167.9 kB / 0.8041 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006062/0.7492, allocations: 487.3 kB / 0.8046 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.7605, allocations: 5.674 MB / 0.8101 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04361/0.8041, allocations: 31.64 MB / 0.841 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.8073, allocations: 2.082 MB / 0.843 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.8102, allocations: 2.182 MB / 0.8452 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.8104, allocations: 13.31 kB / 0.8452 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.8105, allocations: 51.88 kB / 0.8452 GB, free: 56 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 3.727e-06/0.8105, allocations: 0 / 0.8452 GB, free: 56 kB / 0.6544 GB Notification: Performance of matching and sorting (n=251): time 0.837/1.647, allocations: 75.25 MB / 0.9187 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/1.648, allocations: 77.31 kB / 0.9188 GB, free: 164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/1.65, allocations: 1.654 MB / 0.9204 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005492/1.651, allocations: 65.95 kB / 0.9205 GB, free: 163 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.652, allocations: 1.745 MB / 0.9222 GB, free: 161.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008094/1.653, allocations: 0.8564 MB / 0.923 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/1.653, allocations: 47.81 kB / 0.9231 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.653, allocations: 418.7 kB / 0.9235 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003436/1.657, allocations: 2.72 MB / 0.9261 GB, free: 159.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00381/1.661, allocations: 3.32 MB / 0.9294 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/1.664, allocations: 3.056 MB / 0.9323 GB, free: 155.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/1.664, allocations: 3.812 kB / 0.9323 GB, free: 155.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.027/1.691, allocations: 14.65 MB / 0.9467 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/1.691, allocations: 12 kB / 0.9467 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.088e-05/1.691, allocations: 18.81 kB / 0.9467 GB, free: 144.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02449/1.716, allocations: 9.247 MB / 0.9557 GB, free: 135.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.717, allocations: 295.5 kB / 0.956 GB, free: 134.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06173/1.779, allocations: 47.05 MB / 1.002 GB, free: 87.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/1.782, allocations: 227.6 kB / 1.002 GB, free: 86.81 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003481/1.783, allocations: 96 kB / 1.002 GB, free: 86.71 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003139/1.786, allocations: 1.586 MB / 1.004 GB, free: 85.12 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006452/1.786, allocations: 249.2 kB / 1.004 GB, free: 84.87 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/1.814, allocations: 14.72 MB / 1.018 GB, free: 70.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.953e-05/1.814, allocations: 24 kB / 1.018 GB, free: 70.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002287/1.814, allocations: 44 kB / 1.018 GB, free: 70.03 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.383e-05/1.814, allocations: 15.95 kB / 1.018 GB, free: 70.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03647/1.851, allocations: 20.49 MB / 1.038 GB, free: 49.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/1.851, allocations: 4 kB / 1.039 GB, free: 49.39 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/1.852, allocations: 167.7 kB / 1.039 GB, free: 49.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02436/1.876, allocations: 8.993 MB / 1.047 GB, free: 40.21 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006432/1.877, allocations: 51.95 kB / 1.047 GB, free: 40.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06398/1.941, allocations: 46.7 MB / 1.093 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.941, allocations: 8 kB / 1.093 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03057/1.971, allocations: 14.33 MB / 1.107 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/1.974, allocations: 0.8455 MB / 1.108 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006376/1.974, allocations: 48 kB / 1.108 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/1.976, allocations: 211.7 kB / 1.108 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001284/1.978, allocations: 245.2 kB / 1.108 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/1.978, allocations: 68 kB / 1.108 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001559/1.979, allocations: 1.106 MB / 1.11 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.61e-07/1.979, allocations: 0 / 1.11 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005259/1.985, allocations: 1.598 MB / 1.111 GB, free: 6 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004344/1.985, allocations: 165.3 kB / 1.111 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02093/2.006, allocations: 10.34 MB / 1.121 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/2.006, allocations: 0 / 1.121 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01642/2.022, allocations: 7.149 MB / 1.128 GB, free: 4.215 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/2.026, allocations: 0.5182 MB / 1.129 GB, free: 3.695 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/2.042, allocations: 10.17 MB / 1.139 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004091/2.046, allocations: 3.226 MB / 1.142 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001333/2.047, allocations: 395.3 kB / 1.142 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/2.047, allocations: 99.42 kB / 1.142 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of SimCode: time 1.513e-06/2.047, allocations: 0 / 1.142 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of Templates: time 0.1384/2.186, allocations: 84.29 MB / 1.225 GB, free: 1.688 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: