Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 109.1 kB / 16.29 MB, free: 6.43 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.001538/0.001538, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.498/1.498, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.803/1.803, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001398/0.001398, allocations: 71.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2752, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.5607/0.8359, allocations: 37.79 MB / 0.821 GB, free: 27.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02211/0.8581, allocations: 11.08 MB / 0.8318 GB, free: 20.19 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006742/0.8649, allocations: 156.9 kB / 0.832 GB, free: 20.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01463/0.8796, allocations: 4.344 MB / 0.8362 GB, free: 17.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.8911, allocations: 2.218 MB / 0.8384 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008458/0.8996, allocations: 2.162 MB / 0.8405 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02368/0.9233, allocations: 9.281 MB / 0.8495 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02951/0.9529, allocations: 11.37 MB / 0.8607 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/0.9646, allocations: 3.998 MB / 0.8646 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.9748, allocations: 4.503 MB / 0.869 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.004615/0.9795, allocations: 0.8225 MB / 0.8698 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008135/0.9876, allocations: 1.587 MB / 0.8713 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.007308/0.995, allocations: 3.151 MB / 0.8744 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01213/1.007, allocations: 3.653 MB / 0.878 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02151/1.029, allocations: 12.31 MB / 0.89 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/1.029, allocations: 0 / 0.89 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.445e-06/1.029, allocations: 0 / 0.89 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0005012/1.029, allocations: 0 / 0.89 GB, free: 14.97 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02142/1.051, allocations: 6.315 MB / 0.8961 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.051, allocations: 12.03 kB / 0.8961 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006533/1.057, allocations: 1.067 MB / 0.8972 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007835/1.065, allocations: 3.423 MB / 0.9005 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/1.066, allocations: 419.8 kB / 0.9009 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/1.067, allocations: 0.5394 MB / 0.9015 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/1.087, allocations: 9.381 MB / 0.9106 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001451/1.087, allocations: 27.7 kB / 0.9106 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007742/1.088, allocations: 244 kB / 0.9109 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005182/1.088, allocations: 418.9 kB / 0.9113 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/1.102, allocations: 7.123 MB / 0.9182 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04698/1.149, allocations: 41.01 MB / 0.9583 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004691/1.154, allocations: 3.108 MB / 0.9613 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002899/1.157, allocations: 2.141 MB / 0.9634 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/1.157, allocations: 22 kB / 0.9634 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/1.157, allocations: 64.56 kB / 0.9635 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=209): time 4.248e-06/1.157, allocations: 0 / 0.9635 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of matching and sorting (n=212): time 0.02362/1.181, allocations: 10.56 MB / 0.9738 GB, free: 4.785 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/1.181, allocations: 77.34 kB / 0.9739 GB, free: 4.699 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/1.184, allocations: 2.006 MB / 0.9758 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/1.184, allocations: 61.7 kB / 0.9759 GB, free: 2.609 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001515/1.186, allocations: 2.408 MB / 0.9782 GB, free: 172 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006772/1.186, allocations: 0.728 MB / 0.979 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007247/1.187, allocations: 477.2 kB / 0.9794 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.415e-05/1.187, allocations: 309.1 kB / 0.9797 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/1.189, allocations: 1.376 MB / 0.981 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/1.192, allocations: 2.108 MB / 0.9831 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00471/1.196, allocations: 3.766 MB / 0.9868 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/1.196, allocations: 4 kB / 0.9868 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008191/1.205, allocations: 5.073 MB / 0.9917 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/1.205, allocations: 16 kB / 0.9918 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/1.205, allocations: 28.66 kB / 0.9918 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/1.208, allocations: 1.58 MB / 0.9933 GB, free: 40 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/1.21, allocations: 451.2 kB / 0.9938 GB, free: 15.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/1.233, allocations: 18.58 MB / 1.012 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/1.235, allocations: 143.9 kB / 1.012 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/1.235, allocations: 108 kB / 1.012 GB, free: 12.21 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003367/1.239, allocations: 1.946 MB / 1.014 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006573/1.239, allocations: 292.6 kB / 1.014 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007467/1.247, allocations: 4.451 MB / 1.019 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.247, allocations: 20 kB / 1.019 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/1.247, allocations: 16 kB / 1.019 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/1.247, allocations: 7.969 kB / 1.019 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/1.263, allocations: 9.664 MB / 1.028 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/1.263, allocations: 4 kB / 1.028 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.264, allocations: 231.6 kB / 1.028 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003189/1.267, allocations: 1.437 MB / 1.03 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/1.267, allocations: 37.12 kB / 1.03 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02374/1.291, allocations: 18.57 MB / 1.048 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.291, allocations: 11.88 kB / 1.048 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00773/1.299, allocations: 4.541 MB / 1.052 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/1.3, allocations: 0.6303 MB / 1.053 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004356/1.301, allocations: 47.94 kB / 1.053 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/1.302, allocations: 115.8 kB / 1.053 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005373/1.302, allocations: 185.6 kB / 1.053 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.303, allocations: 56 kB / 1.053 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001829/1.304, allocations: 1.315 MB / 1.055 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/1.304, allocations: 0 / 1.055 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003081/1.308, allocations: 1.141 MB / 1.056 GB, free: 14.63 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003152/1.308, allocations: 171.8 kB / 1.056 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007461/1.315, allocations: 4.712 MB / 1.061 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/1.315, allocations: 3.859 kB / 1.061 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.004807/1.32, allocations: 2.922 MB / 1.063 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00403/1.324, allocations: 0.8909 MB / 1.064 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.343, allocations: 9.269 MB / 1.073 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005547/1.348, allocations: 3.686 MB / 1.077 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002322/1.351, allocations: 0.5518 MB / 1.077 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/1.351, allocations: 151.4 kB / 1.078 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of SimCode: time 1.643e-06/1.351, allocations: 0 / 1.078 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of Templates: time 0.09473/1.446, allocations: 52.88 MB / 1.129 GB, free: 3.922 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)