Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 109.5 kB / 16.37 MB, free: 5.996 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.001071/0.001071, allocations: 195.4 kB / 17.31 MB, free: 5.605 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.303/1.303, 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.752/1.752, allocations: 292.3 MB / 0.5496 GB, free: 17.4 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.001422/0.001422, allocations: 67.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2093, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.3669/0.5762, allocations: 33.18 MB / 0.8172 GB, free: 30.18 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02054/0.5968, allocations: 14.89 MB / 0.8318 GB, free: 19.94 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003758/0.6006, allocations: 160.4 kB / 0.8319 GB, free: 19.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008746/0.6094, allocations: 3.651 MB / 0.8355 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008314/0.6178, allocations: 2.885 MB / 0.8383 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006267/0.624, allocations: 2.329 MB / 0.8406 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01125/0.6353, allocations: 8.816 MB / 0.8492 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01169/0.647, allocations: 9.645 MB / 0.8586 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007028/0.6541, allocations: 3.952 MB / 0.8625 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006982/0.6611, allocations: 4.047 MB / 0.8664 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002229/0.6634, allocations: 0.7167 MB / 0.8671 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005141/0.6685, allocations: 1.716 MB / 0.8688 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003664/0.6722, allocations: 2.826 MB / 0.8715 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006791/0.679, allocations: 3.393 MB / 0.8749 GB, free: 14.14 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.6925, allocations: 11.19 MB / 0.8858 GB, free: 3.301 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.6926, allocations: 0 / 0.8858 GB, free: 3.301 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6926, allocations: 3.938 kB / 0.8858 GB, free: 3.297 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002707/0.6929, allocations: 0 / 0.8858 GB, free: 3.297 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01364/0.7065, allocations: 5.98 MB / 0.8916 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.7066, allocations: 8.031 kB / 0.8916 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006787/0.7134, allocations: 1.145 MB / 0.8928 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006871/0.7203, allocations: 3.516 MB / 0.8962 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/0.7206, allocations: 370.4 kB / 0.8965 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/0.7216, allocations: 500 kB / 0.897 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.7373, allocations: 8.005 MB / 0.9048 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.7375, allocations: 20.53 kB / 0.9049 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005321/0.738, allocations: 216 kB / 0.9051 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001063/0.7391, allocations: 441.5 kB / 0.9055 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.7497, allocations: 6.085 MB / 0.9114 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03818/0.7879, allocations: 34.89 MB / 0.9455 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/0.7907, allocations: 2.018 MB / 0.9475 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002415/0.7931, allocations: 1.865 MB / 0.9493 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.7933, allocations: 18 kB / 0.9493 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/0.7933, allocations: 68.44 kB / 0.9494 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=171): time 4.268e-06/0.7933, allocations: 0 / 0.9494 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=276): time 0.1554/0.9487, allocations: 38.88 MB / 0.9873 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.9488, allocations: 77.58 kB / 0.9874 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/0.9523, allocations: 2.286 MB / 0.9896 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003651/0.9527, allocations: 73.7 kB / 0.9897 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.9542, allocations: 2.272 MB / 0.9919 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009407/0.9552, allocations: 0.9279 MB / 0.9928 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009584/0.9561, allocations: 0.5062 MB / 0.9933 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.9562, allocations: 309.1 kB / 0.9936 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003/0.9592, allocations: 1.973 MB / 0.9955 GB, free: 15.05 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003387/0.9627, allocations: 2.599 MB / 0.9981 GB, free: 12.21 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006677/0.9693, allocations: 4.933 MB / 1.003 GB, free: 7.004 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/0.9694, allocations: 8 kB / 1.003 GB, free: 6.996 MB / 0.795 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01509/0.9845, allocations: 7.758 MB / 1.01 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.9845, allocations: 12 kB / 1.01 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/0.9846, allocations: 16 kB / 1.011 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009527/0.9941, allocations: 3.21 MB / 1.014 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/0.996, allocations: 403.4 kB / 1.014 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04531/1.041, allocations: 33.88 MB / 1.047 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/1.045, allocations: 163.8 kB / 1.047 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003759/1.045, allocations: 111.9 kB / 1.047 GB, free: 8.527 MB / 0.8419 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003325/1.048, allocations: 1.793 MB / 1.049 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007307/1.049, allocations: 336 kB / 1.049 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.063, allocations: 7.353 MB / 1.057 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/1.064, allocations: 28 kB / 1.057 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-05/1.064, allocations: 28 kB / 1.057 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.822e-05/1.064, allocations: 15.94 kB / 1.057 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/1.089, allocations: 12.93 MB / 1.069 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/1.089, allocations: 12.19 kB / 1.069 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.091, allocations: 239.6 kB / 1.07 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00835/1.099, allocations: 2.851 MB / 1.072 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004311/1.099, allocations: 52 kB / 1.072 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04441/1.144, allocations: 32.65 MB / 1.104 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.144, allocations: 12.69 kB / 1.104 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.157, allocations: 6.886 MB / 1.111 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/1.159, allocations: 0.7821 MB / 1.112 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005933/1.159, allocations: 52 kB / 1.112 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001997/1.161, allocations: 171.8 kB / 1.112 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007941/1.162, allocations: 257.4 kB / 1.112 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.162, allocations: 68 kB / 1.112 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002254/1.165, allocations: 1.529 MB / 1.114 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.165, allocations: 3.938 kB / 1.114 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00472/1.169, allocations: 1.371 MB / 1.115 GB, free: 1.742 MB / 0.9044 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004922/1.17, allocations: 185.6 kB / 1.115 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01218/1.182, allocations: 6.928 MB / 1.122 GB, free: 10.54 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.885e-05/1.182, allocations: 0 / 1.122 GB, free: 10.54 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.007912/1.19, allocations: 4.409 MB / 1.126 GB, free: 6.051 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005007/1.195, allocations: 1.112 MB / 1.127 GB, free: 4.984 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4168/1.612, allocations: 10.76 MB / 1.138 GB, free: 248.2 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005769/1.618, allocations: 3.75 MB / 1.142 GB, free: 247.4 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008813/1.619, allocations: 172.3 kB / 1.142 GB, free: 247.4 MB / 0.92 GB Notification: Performance of SimCode: time 1.032e-06/1.619, allocations: 3.844 kB / 1.142 GB, free: 247.4 MB / 0.92 GB Notification: Performance of Templates: time 0.1949/1.814, allocations: 227.3 MB / 1.364 GB, free: 60.98 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)