Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001151/0.00115, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.441/1.441, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.964/1.964, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001473/0.001473, allocations: 67.91 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2476, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.3914/0.6391, allocations: 30.65 MB / 0.814 GB, free: 31.88 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02154/0.6606, allocations: 13.65 MB / 0.8273 GB, free: 22.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004286/0.665, allocations: 144.9 kB / 0.8274 GB, free: 22.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008518/0.6736, allocations: 3.198 MB / 0.8306 GB, free: 20.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.6852, allocations: 2.658 MB / 0.8332 GB, free: 18.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007654/0.6929, allocations: 2.008 MB / 0.8351 GB, free: 17.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01357/0.7065, allocations: 7.628 MB / 0.8426 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01478/0.7213, allocations: 8.274 MB / 0.8506 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008554/0.7299, allocations: 3.4 MB / 0.854 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007853/0.7378, allocations: 3.383 MB / 0.8573 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003259/0.7411, allocations: 0.5957 MB / 0.8578 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006862/0.748, allocations: 1.492 MB / 0.8593 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005527/0.7536, allocations: 2.368 MB / 0.8616 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.008902/0.7625, allocations: 2.884 MB / 0.8644 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.779, allocations: 9.394 MB / 0.8736 GB, free: 14.03 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.779, allocations: 9.125 kB / 0.8736 GB, free: 14.02 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.755e-06/0.779, allocations: 0 / 0.8736 GB, free: 14.02 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004189/0.7795, allocations: 0 / 0.8736 GB, free: 14.02 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01938/0.7989, allocations: 5.13 MB / 0.8786 GB, free: 10.08 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.7989, allocations: 16.03 kB / 0.8786 GB, free: 10.07 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007985/0.8069, allocations: 0.9902 MB / 0.8796 GB, free: 9.07 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008437/0.8154, allocations: 2.9 MB / 0.8824 GB, free: 6.09 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003829/0.8158, allocations: 317.4 kB / 0.8827 GB, free: 5.777 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002314/0.8182, allocations: 424 kB / 0.8831 GB, free: 5.359 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/0.8387, allocations: 6.787 MB / 0.8898 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002694/0.839, allocations: 19.78 kB / 0.8898 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001899/0.8409, allocations: 184 kB / 0.89 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001046/0.842, allocations: 372 kB / 0.8903 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/0.8542, allocations: 5.107 MB / 0.8953 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04238/0.8967, allocations: 30.74 MB / 0.9253 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.899, allocations: 1.395 MB / 0.9267 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/0.9008, allocations: 1.332 MB / 0.928 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.901, allocations: 21.31 kB / 0.928 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/0.9011, allocations: 51.88 kB / 0.9281 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 4.538e-06/0.9011, allocations: 1.312 kB / 0.9281 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199): time 0.09113/0.9922, allocations: 23.06 MB / 0.9506 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.9923, allocations: 73.41 kB / 0.9507 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004627/0.9969, allocations: 2.062 MB / 0.9527 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005048/0.9975, allocations: 61.7 kB / 0.9527 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001756/0.9993, allocations: 2.018 MB / 0.9547 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009917/1, allocations: 0.6739 MB / 0.9554 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/1.001, allocations: 420.1 kB / 0.9558 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.002, allocations: 305.1 kB / 0.9561 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002271/1.004, allocations: 1.43 MB / 0.9575 GB, free: 5.961 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002806/1.007, allocations: 2.01 MB / 0.9594 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005155/1.012, allocations: 3.692 MB / 0.963 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/1.012, allocations: 12 kB / 0.963 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01159/1.024, allocations: 5.65 MB / 0.9685 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/1.024, allocations: 21.17 kB / 0.9686 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.525e-05/1.024, allocations: 20 kB / 0.9686 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007126/1.031, allocations: 2.091 MB / 0.9706 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/1.033, allocations: 371.4 kB / 0.971 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04172/1.074, allocations: 38.47 MB / 1.009 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/1.077, allocations: 127.9 kB / 1.009 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005096/1.078, allocations: 88 kB / 1.009 GB, free: 14.29 MB / 0.8106 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003575/1.082, allocations: 1.508 MB / 1.01 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/1.083, allocations: 280.6 kB / 1.01 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.095, allocations: 5.219 MB / 1.016 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/1.096, allocations: 20 kB / 1.016 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.913e-05/1.096, allocations: 16 kB / 1.016 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.715e-05/1.096, allocations: 15.89 kB / 1.016 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02244/1.118, allocations: 9.677 MB / 1.025 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/1.118, allocations: 8.031 kB / 1.025 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.119, allocations: 215.6 kB / 1.025 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006582/1.126, allocations: 1.862 MB / 1.027 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003475/1.126, allocations: 40 kB / 1.027 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04257/1.169, allocations: 37.46 MB / 1.064 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/1.169, allocations: 11.94 kB / 1.064 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/1.18, allocations: 4.909 MB / 1.069 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/1.182, allocations: 0.6147 MB / 1.069 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009702/1.183, allocations: 39.98 kB / 1.069 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.185, allocations: 131.8 kB / 1.069 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000694/1.185, allocations: 193.5 kB / 1.069 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/1.186, allocations: 56.19 kB / 1.07 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002569/1.188, allocations: 1.382 MB / 1.071 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/1.188, allocations: 0 / 1.071 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004726/1.193, allocations: 1.047 MB / 1.072 GB, free: 10.52 MB / 0.8731 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004526/1.193, allocations: 168.8 kB / 1.072 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.206, allocations: 7.221 MB / 1.079 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/1.206, allocations: 4 kB / 1.079 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007311/1.214, allocations: 4.394 MB / 1.083 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006352/1.22, allocations: 0.9854 MB / 1.084 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/1.24, allocations: 8.701 MB / 1.093 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005473/1.245, allocations: 3.183 MB / 1.096 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007626/1.246, allocations: 155.4 kB / 1.096 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of SimCode: time 1.022e-06/1.246, allocations: 0 / 1.096 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of Templates: time 1.154/2.4, allocations: 464.7 MB / 1.55 GB, free: 304.7 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)