Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 113.3 kB / 16.36 MB, free: 5.945 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.001102/0.001102, allocations: 197.1 kB / 17.3 MB, free: 5.559 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.397/1.397, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.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.001591/0.001591, allocations: 67.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2478, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.4224/0.6703, allocations: 10.09 MB / 0.7947 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005191/0.6755, allocations: 3.209 MB / 0.7978 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.6767, allocations: 36.03 kB / 0.7978 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.6785, allocations: 0.5848 MB / 0.7984 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.6804, allocations: 0.7405 MB / 0.7991 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.6824, allocations: 0.7411 MB / 0.7998 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003818/0.6862, allocations: 2.995 MB / 0.8028 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004468/0.6907, allocations: 2.601 MB / 0.8053 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002546/0.6933, allocations: 1.262 MB / 0.8065 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/0.6964, allocations: 1.554 MB / 0.8081 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.6975, allocations: 235.6 kB / 0.8083 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.6996, allocations: 0.4995 MB / 0.8088 GB, free: 39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002343/0.7019, allocations: 1.07 MB / 0.8098 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.7046, allocations: 1.115 MB / 0.8109 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005235/0.7099, allocations: 3.684 MB / 0.8145 GB, free: 36.78 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.7099, allocations: 4.5 kB / 0.8145 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.71, allocations: 1.438 kB / 0.8145 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000136/0.7101, allocations: 1.594 kB / 0.8145 GB, free: 36.77 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005654/0.7158, allocations: 2.14 MB / 0.8166 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.7158, allocations: 14.25 kB / 0.8166 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009063/0.7249, allocations: 1.312 MB / 0.8179 GB, free: 35.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.7282, allocations: 1.255 MB / 0.8191 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.081e-05/0.7283, allocations: 111.9 kB / 0.8192 GB, free: 34.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005051/0.7288, allocations: 149.9 kB / 0.8194 GB, free: 34.51 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006042/0.7348, allocations: 3.44 MB / 0.8227 GB, free: 33.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/0.7349, allocations: 6.094 kB / 0.8227 GB, free: 33.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.7352, allocations: 67.36 kB / 0.8228 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002981/0.7355, allocations: 210 kB / 0.823 GB, free: 33.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005549/0.741, allocations: 3.124 MB / 0.8261 GB, free: 32.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02337/0.7644, allocations: 13.55 MB / 0.8393 GB, free: 23.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/0.7673, allocations: 1.729 MB / 0.841 GB, free: 22.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.7692, allocations: 1.434 MB / 0.8424 GB, free: 21.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.865e-05/0.7693, allocations: 16.12 kB / 0.8424 GB, free: 21.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.7693, allocations: 49.64 kB / 0.8424 GB, free: 21.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 3.146e-06/0.7693, allocations: 1.312 kB / 0.8424 GB, free: 21.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.132/0.9013, allocations: 36.66 MB / 0.8782 GB, free: 9.898 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.9014, allocations: 77.41 kB / 0.8783 GB, free: 9.812 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.903, allocations: 1.05 MB / 0.8793 GB, free: 8.738 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004298/0.9034, allocations: 61.64 kB / 0.8794 GB, free: 8.672 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005318/0.904, allocations: 0.7873 MB / 0.8802 GB, free: 7.871 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006447/0.9046, allocations: 0.6277 MB / 0.8808 GB, free: 7.234 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007661/0.9054, allocations: 355.4 kB / 0.8811 GB, free: 6.879 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.9055, allocations: 301.1 kB / 0.8814 GB, free: 6.582 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002852/0.9084, allocations: 1.94 MB / 0.8833 GB, free: 4.637 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/0.9114, allocations: 2.289 MB / 0.8855 GB, free: 2.227 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006014/0.9174, allocations: 4.39 MB / 0.8898 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.9175, allocations: 0 / 0.8898 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02044/0.9379, allocations: 9.026 MB / 0.8986 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.938, allocations: 17.33 kB / 0.8987 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.938, allocations: 8 kB / 0.8987 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01711/0.9552, allocations: 4.977 MB / 0.9035 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/0.9562, allocations: 191.7 kB / 0.9037 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05723/1.013, allocations: 38.9 MB / 0.9417 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.016, allocations: 99.89 kB / 0.9418 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/1.016, allocations: 68 kB / 0.9419 GB, free: 7.82 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001635/1.018, allocations: 0.8173 MB / 0.9426 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/1.018, allocations: 134.4 kB / 0.9428 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01971/1.038, allocations: 8.886 MB / 0.9515 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/1.038, allocations: 20 kB / 0.9515 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.454e-05/1.038, allocations: 28 kB / 0.9515 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.693e-05/1.038, allocations: 7.969 kB / 0.9515 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02841/1.066, allocations: 13.27 MB / 0.9645 GB, free: 464 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-05/1.066, allocations: 4 kB / 0.9645 GB, free: 460 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/1.067, allocations: 120.3 kB / 0.9646 GB, free: 340 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01661/1.084, allocations: 4.762 MB / 0.9692 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005179/1.084, allocations: 36 kB / 0.9693 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05336/1.138, allocations: 34.84 MB / 1.003 GB, free: 8.109 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.138, allocations: 7.938 kB / 1.003 GB, free: 8.102 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/1.157, allocations: 8.409 MB / 1.012 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/1.159, allocations: 0.6046 MB / 1.012 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/1.159, allocations: 51.8 kB / 1.012 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.16, allocations: 87.89 kB / 1.012 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001141/1.162, allocations: 161.7 kB / 1.012 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.162, allocations: 48 kB / 1.012 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001154/1.163, allocations: 0.7382 MB / 1.013 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/1.163, allocations: 0 / 1.013 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003915/1.167, allocations: 1.008 MB / 1.014 GB, free: 12.88 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003396/1.167, allocations: 143.1 kB / 1.014 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01008/1.177, allocations: 5.867 MB / 1.02 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.177, allocations: 4.062 kB / 1.02 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007997/1.185, allocations: 3.825 MB / 1.024 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/1.187, allocations: 245.1 kB / 1.024 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/1.197, allocations: 4.957 MB / 1.029 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/1.199, allocations: 1.851 MB / 1.031 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009363/1.199, allocations: 355.4 kB / 1.031 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/1.2, allocations: 67.42 kB / 1.031 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of SimCode: time 1.774e-06/1.2, allocations: 0 / 1.031 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.08874/1.288, allocations: 59.12 MB / 1.089 GB, free: 456 kB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)