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.00117/0.00117, allocations: 109.4 kB / 15.69 MB, free: 128 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.001595/0.001595, allocations: 190.8 kB / 16.62 MB, free: 6.613 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.616/1.616, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.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.811/1.811, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001427/0.001427, allocations: 69.36 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2683, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01249/0.2808, allocations: 10.09 MB / 0.794 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006597/0.2874, allocations: 3.225 MB / 0.7971 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009708/0.2884, allocations: 35.81 kB / 0.7972 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.2901, allocations: 0.5938 MB / 0.7977 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.2918, allocations: 0.7426 MB / 0.7985 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.2934, allocations: 0.7447 MB / 0.7992 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003333/0.2967, allocations: 2.996 MB / 0.8021 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003057/0.2998, allocations: 2.579 MB / 0.8046 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/0.3018, allocations: 1.246 MB / 0.8059 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.304, allocations: 1.566 MB / 0.8074 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003462/0.3044, allocations: 236 kB / 0.8076 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.3055, allocations: 0.5032 MB / 0.8081 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009636/0.3065, allocations: 1.068 MB / 0.8091 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.3076, allocations: 1.112 MB / 0.8102 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.3111, allocations: 3.685 MB / 0.8138 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3111, allocations: 0 / 0.8138 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3111, allocations: 0 / 0.8138 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.999e-05/0.3111, allocations: 0 / 0.8138 GB, free: 14.21 MB / 0.6387 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.003751/0.3149, allocations: 2.15 MB / 0.8159 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3149, allocations: 8.031 kB / 0.8159 GB, free: 12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008739/0.3237, allocations: 1.317 MB / 0.8172 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.326, allocations: 1.294 MB / 0.8185 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/0.3261, allocations: 115.3 kB / 0.8186 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/0.3264, allocations: 148.3 kB / 0.8187 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005171/0.3316, allocations: 3.434 MB / 0.8221 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/0.3317, allocations: 7.938 kB / 0.8221 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.3319, allocations: 67.97 kB / 0.8222 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002556/0.3322, allocations: 207.1 kB / 0.8224 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004827/0.337, allocations: 3.124 MB / 0.8254 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01678/0.3538, allocations: 13.55 MB / 0.8386 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.3564, allocations: 1.734 MB / 0.8403 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.3586, allocations: 1.432 MB / 0.8417 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.3587, allocations: 9 kB / 0.8417 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.3588, allocations: 47.55 kB / 0.8418 GB, free: 492 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 3.466e-06/0.3588, allocations: 4 kB / 0.8418 GB, free: 488 kB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.1519/0.5107, allocations: 36.67 MB / 0.8776 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.5109, allocations: 73.39 kB / 0.8777 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.5128, allocations: 1.053 MB / 0.8787 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003719/0.5132, allocations: 53.7 kB / 0.8788 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006867/0.5139, allocations: 0.7913 MB / 0.8795 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007935/0.5147, allocations: 0.6238 MB / 0.8801 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000942/0.5157, allocations: 363.3 kB / 0.8805 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5158, allocations: 305.1 kB / 0.8808 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/0.5186, allocations: 1.932 MB / 0.8827 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003/0.5216, allocations: 2.281 MB / 0.8849 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005868/0.5275, allocations: 4.395 MB / 0.8892 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.5276, allocations: 4 kB / 0.8892 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02123/0.5488, allocations: 9.023 MB / 0.898 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.5489, allocations: 15.94 kB / 0.898 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.5489, allocations: 8 kB / 0.898 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01791/0.5668, allocations: 4.975 MB / 0.9029 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009768/0.5679, allocations: 183.7 kB / 0.9031 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5474/1.115, allocations: 38.9 MB / 0.941 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/1.118, allocations: 106.1 kB / 0.9411 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/1.118, allocations: 66.14 kB / 0.9412 GB, free: 117.5 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.001637/1.119, allocations: 0.7993 MB / 0.942 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/1.12, allocations: 139.7 kB / 0.9421 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01993/1.14, allocations: 8.899 MB / 0.9508 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.434e-05/1.14, allocations: 21.81 kB / 0.9508 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001308/1.14, allocations: 29.59 kB / 0.9509 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.111e-05/1.14, allocations: 6.422 kB / 0.9509 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02615/1.166, allocations: 13.28 MB / 0.9638 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/1.166, allocations: 6.281 kB / 0.9638 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/1.167, allocations: 122.6 kB / 0.964 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01519/1.182, allocations: 4.75 MB / 0.9686 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004326/1.182, allocations: 38.22 kB / 0.9686 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04453/1.227, allocations: 34.84 MB / 1.003 GB, free: 73.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.227, allocations: 7.656 kB / 1.003 GB, free: 73.65 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/1.244, allocations: 8.401 MB / 1.011 GB, free: 65.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.246, allocations: 0.6124 MB / 1.011 GB, free: 64.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/1.246, allocations: 38.69 kB / 1.011 GB, free: 64.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/1.248, allocations: 87.89 kB / 1.012 GB, free: 64.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000947/1.249, allocations: 161.7 kB / 1.012 GB, free: 64.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/1.249, allocations: 47.98 kB / 1.012 GB, free: 64.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001037/1.25, allocations: 0.7382 MB / 1.013 GB, free: 63.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/1.25, allocations: 4 kB / 1.013 GB, free: 63.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003651/1.254, allocations: 1.008 MB / 1.013 GB, free: 62.44 MB / 0.7325 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.0003755/1.254, allocations: 141.7 kB / 1.014 GB, free: 62.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008663/1.263, allocations: 5.865 MB / 1.019 GB, free: 56.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.263, allocations: 0 / 1.019 GB, free: 56.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006805/1.27, allocations: 3.845 MB / 1.023 GB, free: 52.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/1.271, allocations: 241.2 kB / 1.023 GB, free: 52.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00789/1.279, allocations: 4.937 MB / 1.028 GB, free: 47.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/1.281, allocations: 1.857 MB / 1.03 GB, free: 45.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007744/1.282, allocations: 355.6 kB / 1.03 GB, free: 45.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/1.282, allocations: 59.42 kB / 1.03 GB, free: 45.03 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/1.282, allocations: 0 / 1.03 GB, free: 45.03 MB / 0.7325 GB Notification: Performance of Templates: time 0.07813/1.36, allocations: 59.14 MB / 1.088 GB, free: 2.098 MB / 0.7481 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)