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.001831/0.001831, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.636/1.636, allocations: 251.7 MB / 0.5092 GB, free: 3.098 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.002192/0.002192, allocations: 71.89 kB / 0.6223 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7564/0.7586, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02831/0.7869, allocations: 23.4 MB / 0.7474 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.8015, allocations: 6.52 MB / 0.7537 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.8047, allocations: 99.56 kB / 0.7538 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004866/0.8095, allocations: 1.498 MB / 0.7553 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007641/0.8172, allocations: 1.812 MB / 0.7571 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005591/0.8228, allocations: 1.467 MB / 0.7585 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.8336, allocations: 6.865 MB / 0.7652 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0122/0.8458, allocations: 6.986 MB / 0.772 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006183/0.8521, allocations: 2.808 MB / 0.7748 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0078/0.8599, allocations: 3.47 MB / 0.7782 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002606/0.8625, allocations: 0.5234 MB / 0.7787 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004836/0.8674, allocations: 1.174 MB / 0.7798 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005063/0.8725, allocations: 2.456 MB / 0.7822 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006709/0.8792, allocations: 2.521 MB / 0.7847 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.8928, allocations: 8.456 MB / 0.7929 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.8928, allocations: 0 / 0.7929 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8928, allocations: 4 kB / 0.7929 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003261/0.8932, allocations: 0 / 0.7929 GB, free: 6.594 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.01346/0.9066, allocations: 4.428 MB / 0.7973 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.9067, allocations: 8.031 kB / 0.7973 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008851/0.9156, allocations: 1.685 MB / 0.7989 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006645/0.9222, allocations: 2.579 MB / 0.8014 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.9225, allocations: 271.7 kB / 0.8017 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.9237, allocations: 364.3 kB / 0.802 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/0.9388, allocations: 7.483 MB / 0.8093 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.383e-05/0.9389, allocations: 19.78 kB / 0.8094 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004536/0.9394, allocations: 163.9 kB / 0.8095 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000584/0.94, allocations: 483.3 kB / 0.81 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.951, allocations: 5.697 MB / 0.8155 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04204/0.9931, allocations: 31.69 MB / 0.8465 GB, free: 12.58 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/0.9964, allocations: 2.094 MB / 0.8485 GB, free: 10.48 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003707/1, allocations: 2.178 MB / 0.8507 GB, free: 8.289 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/1, allocations: 21.25 kB / 0.8507 GB, free: 8.266 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/1, allocations: 43.88 kB / 0.8507 GB, free: 8.215 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 3.797e-06/1, allocations: 0 / 0.8507 GB, free: 8.215 MB / 0.67 GB Notification: Performance of matching and sorting (n=251): time 0.8942/1.895, allocations: 77 MB / 0.9259 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/1.895, allocations: 83.83 kB / 0.926 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/1.897, allocations: 1.674 MB / 0.9276 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000759/1.898, allocations: 61.61 kB / 0.9277 GB, free: 162.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/1.899, allocations: 1.744 MB / 0.9294 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001559/1.901, allocations: 0.8533 MB / 0.9302 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/1.902, allocations: 482.2 kB / 0.9307 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/1.902, allocations: 303 kB / 0.931 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/1.905, allocations: 2.73 MB / 0.9336 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003451/1.909, allocations: 3.328 MB / 0.9369 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006799/1.916, allocations: 6.401 MB / 0.9431 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/1.916, allocations: 14.67 kB / 0.9432 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02889/1.945, allocations: 14.68 MB / 0.9575 GB, free: 132.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/1.945, allocations: 13.88 kB / 0.9575 GB, free: 132.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/1.945, allocations: 16 kB / 0.9575 GB, free: 132.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0271/1.972, allocations: 9.296 MB / 0.9666 GB, free: 123.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/1.973, allocations: 295.5 kB / 0.9669 GB, free: 122.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07189/2.045, allocations: 52.39 MB / 1.018 GB, free: 69.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006113/2.052, allocations: 231.7 kB / 1.018 GB, free: 69.47 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/2.053, allocations: 96 kB / 1.018 GB, free: 69.38 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005376/2.059, allocations: 1.578 MB / 1.02 GB, free: 67.79 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/2.06, allocations: 245.1 kB / 1.02 GB, free: 67.55 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05403/2.114, allocations: 14.76 MB / 1.035 GB, free: 52.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.397e-05/2.114, allocations: 25.78 kB / 1.035 GB, free: 52.71 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002472/2.115, allocations: 48 kB / 1.035 GB, free: 52.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.491e-05/2.115, allocations: 11.95 kB / 1.035 GB, free: 52.65 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06636/2.181, allocations: 20.51 MB / 1.055 GB, free: 31.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.946e-05/2.181, allocations: 7.469 kB / 1.055 GB, free: 31.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008674/2.182, allocations: 163.7 kB / 1.055 GB, free: 31.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02801/2.21, allocations: 9.062 MB / 1.064 GB, free: 22.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007247/2.211, allocations: 48 kB / 1.064 GB, free: 22.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08403/2.295, allocations: 51.97 MB / 1.114 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/2.295, allocations: 8 kB / 1.114 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03683/2.332, allocations: 14.37 MB / 1.129 GB, free: 3.359 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002969/2.335, allocations: 0.8454 MB / 1.129 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001321/2.336, allocations: 51.98 kB / 1.129 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003423/2.34, allocations: 207.7 kB / 1.13 GB, free: 2.238 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001926/2.342, allocations: 241.5 kB / 1.13 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004715/2.342, allocations: 68 kB / 1.13 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002514/2.345, allocations: 1.121 MB / 1.131 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.81e-07/2.345, allocations: 0 / 1.131 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.008346/2.353, allocations: 1.602 MB / 1.133 GB, free: 15.19 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009793/2.354, allocations: 163 kB / 1.133 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.03051/2.384, allocations: 11.33 MB / 1.144 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/2.385, allocations: 0 / 1.144 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.02176/2.406, allocations: 7.313 MB / 1.151 GB, free: 12.27 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005682/2.412, allocations: 0.5483 MB / 1.151 GB, free: 11.73 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/2.434, allocations: 8.771 MB / 1.16 GB, free: 2.895 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0058/2.44, allocations: 3.222 MB / 1.163 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001496/2.442, allocations: 391.3 kB / 1.164 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/2.442, allocations: 95.44 kB / 1.164 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of SimCode: time 1.112e-06/2.442, allocations: 0 / 1.164 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.7189/3.161, allocations: 91.74 MB / 1.253 GB, free: 281 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (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)