Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 110.5 kB / 16.64 MB, free: 6.371 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.001305/0.001305, allocations: 189.4 kB / 17.56 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8189/0.8189, allocations: 125.4 MB / 416.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 72.11 kB / 0.4943 GB, free: 4.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.354, allocations: 78.55 MB / 0.571 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01351/0.3676, allocations: 11.89 MB / 0.5826 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008821/0.3765, allocations: 5.646 MB / 0.5881 GB, free: 19.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.3783, allocations: 33.16 kB / 0.5882 GB, free: 19.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.3813, allocations: 0.9818 MB / 0.5891 GB, free: 18.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.3832, allocations: 0.622 MB / 0.5897 GB, free: 17.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.3855, allocations: 0.8967 MB / 0.5906 GB, free: 17.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.3886, allocations: 2.594 MB / 0.5931 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004837/0.3935, allocations: 4.456 MB / 0.5975 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.3954, allocations: 1.188 MB / 0.5987 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.3967, allocations: 1.398 MB / 0.6 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.397, allocations: 252 kB / 0.6003 GB, free: 9.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008864/0.3979, allocations: 0.5657 MB / 0.6008 GB, free: 9.223 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005834/0.3985, allocations: 0.9396 MB / 0.6017 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008629/0.3993, allocations: 1.062 MB / 0.6028 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.4014, allocations: 3.321 MB / 0.606 GB, free: 3.887 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.4014, allocations: 0 / 0.606 GB, free: 3.887 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4014, allocations: 0 / 0.606 GB, free: 3.887 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.608e-05/0.4015, allocations: 0 / 0.606 GB, free: 3.887 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003544/0.405, allocations: 2.096 MB / 0.6081 GB, free: 1.734 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4051, allocations: 8.031 kB / 0.6081 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.4082, allocations: 0.7362 MB / 0.6088 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.4103, allocations: 1.2 MB / 0.61 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.4104, allocations: 123.4 kB / 0.6101 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003554/0.4108, allocations: 164.1 kB / 0.6102 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00566/0.4164, allocations: 2.956 MB / 0.6131 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.4165, allocations: 4 kB / 0.6131 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.4167, allocations: 72 kB / 0.6132 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003852/0.4171, allocations: 167.1 kB / 0.6134 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004491/0.4216, allocations: 2.522 MB / 0.6158 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.4366, allocations: 10.82 MB / 0.6264 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.4384, allocations: 0.9531 MB / 0.6273 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008286/0.4392, allocations: 0.5075 MB / 0.6278 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.4394, allocations: 93.45 kB / 0.6279 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.4395, allocations: 46.88 kB / 0.6279 GB, free: 12.28 MB / 478.1 MB Notification: Performance of pre-optimization done (n=46): time 2.845e-06/0.4395, allocations: 0 / 0.6279 GB, free: 12.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=70): time 0.03115/0.4706, allocations: 8.068 MB / 0.6358 GB, free: 4.141 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.4707, allocations: 55.97 kB / 0.6359 GB, free: 4.074 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.4723, allocations: 0.9298 MB / 0.6368 GB, free: 3.133 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001813/0.4725, allocations: 37.7 kB / 0.6368 GB, free: 3.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007579/0.4733, allocations: 0.7697 MB / 0.6376 GB, free: 2.305 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.4737, allocations: 256.5 kB / 0.6378 GB, free: 2.051 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004654/0.4742, allocations: 214.8 kB / 0.638 GB, free: 1.836 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.4744, allocations: 394.7 kB / 0.6384 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.4759, allocations: 0.81 MB / 0.6392 GB, free: 0.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.4777, allocations: 1.155 MB / 0.6403 GB, free: 15.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00321/0.4809, allocations: 1.993 MB / 0.6423 GB, free: 13.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.4809, allocations: 4 kB / 0.6423 GB, free: 13.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01061/0.4915, allocations: 3.663 MB / 0.6458 GB, free: 9.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.4916, allocations: 12 kB / 0.6459 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.4916, allocations: 12 kB / 0.6459 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008054/0.4997, allocations: 1.903 MB / 0.6477 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.5008, allocations: 231.6 kB / 0.648 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/0.5189, allocations: 10.6 MB / 0.6583 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.5206, allocations: 183.6 kB / 0.6585 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.5207, allocations: 47.98 kB / 0.6585 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002587/0.5233, allocations: 1.525 MB / 0.66 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001731/0.5251, allocations: 1.128 MB / 0.6611 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003084/0.5282, allocations: 1.935 MB / 0.663 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.225e-06/0.5282, allocations: 4 kB / 0.663 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.008568/0.5367, allocations: 3.096 MB / 0.666 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.5368, allocations: 15.88 kB / 0.666 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.5368, allocations: 12 kB / 0.6661 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005063/0.5419, allocations: 1.207 MB / 0.6672 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.5432, allocations: 283.5 kB / 0.6675 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009393/0.5526, allocations: 5.833 MB / 0.6732 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.5542, allocations: 183.7 kB / 0.6734 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.5543, allocations: 44 kB / 0.6734 GB, free: 12.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003768/0.5547, allocations: 243.9 kB / 0.6737 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.5549, allocations: 94.95 kB / 0.6737 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009466/0.5644, allocations: 3.168 MB / 0.6768 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.5644, allocations: 11.94 kB / 0.6768 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5644, allocations: 3.938 kB / 0.6769 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.5645, allocations: 7.984 kB / 0.6769 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.5769, allocations: 5.274 MB / 0.682 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.577, allocations: 0 / 0.682 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/0.5775, allocations: 103.8 kB / 0.6821 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007049/0.5845, allocations: 1.721 MB / 0.6838 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.5847, allocations: 12 kB / 0.6838 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01535/0.6001, allocations: 10 MB / 0.6936 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6001, allocations: 0 / 0.6936 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008856/0.609, allocations: 3.022 MB / 0.6965 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007159/0.6097, allocations: 323.9 kB / 0.6968 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.6099, allocations: 12 kB / 0.6968 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.6109, allocations: 139.8 kB / 0.697 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/0.6112, allocations: 60.48 kB / 0.697 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.45e-05/0.6113, allocations: 20 kB / 0.6971 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001063/0.6124, allocations: 0.6785 MB / 0.6977 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6124, allocations: 0 / 0.6977 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002692/0.6151, allocations: 0.6875 MB / 0.6984 GB, free: 2.438 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003219/0.6154, allocations: 135 kB / 0.6985 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007116/0.6226, allocations: 3.725 MB / 0.7022 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.6226, allocations: 0.75 kB / 0.7022 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/0.6248, allocations: 1.258 MB / 0.7034 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.6262, allocations: 301.9 kB / 0.7037 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006905/0.6331, allocations: 4.374 MB / 0.7079 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/0.6348, allocations: 1.726 MB / 0.7096 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.6352, allocations: 71.42 kB / 0.7097 GB, free: 6.715 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.6352, allocations: 0 / 0.7097 GB, free: 6.715 MB / 0.545 GB Notification: Performance of Templates: time 0.3088/0.944, allocations: 43.08 MB / 0.7518 GB, free: 155.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)