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.001392/0.001392, allocations: 103.9 kB / 16.94 MB, free: 6.191 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.001257/0.001257, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.302/1.302, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7568/0.7568, allocations: 122.9 MB / 414.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.89 kB / 0.4917 GB, free: 7.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3773, allocations: 77.92 MB / 0.5678 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01487/0.3922, allocations: 11.95 MB / 0.5795 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009741/0.402, allocations: 5.709 MB / 0.5851 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.4036, allocations: 41.56 kB / 0.5851 GB, free: 20.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.4068, allocations: 1.035 MB / 0.5861 GB, free: 19.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.4093, allocations: 0.6712 MB / 0.5868 GB, free: 19.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.412, allocations: 0.9823 MB / 0.5877 GB, free: 18.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002948/0.4149, allocations: 2.583 MB / 0.5903 GB, free: 17.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005147/0.4201, allocations: 3.848 MB / 0.594 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.4223, allocations: 1.184 MB / 0.5952 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.4244, allocations: 1.332 MB / 0.5965 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000714/0.4251, allocations: 252 kB / 0.5967 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.4268, allocations: 0.5619 MB / 0.5973 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.428, allocations: 0.9434 MB / 0.5982 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.4298, allocations: 1.066 MB / 0.5992 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003422/0.4332, allocations: 3.833 MB / 0.603 GB, free: 6.801 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.4333, allocations: 4 kB / 0.603 GB, free: 6.797 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4333, allocations: 0 / 0.603 GB, free: 6.797 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001155/0.4334, allocations: 0 / 0.603 GB, free: 6.797 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.004666/0.4381, allocations: 2.085 MB / 0.605 GB, free: 4.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4381, allocations: 12.62 kB / 0.605 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003087/0.4412, allocations: 0.7362 MB / 0.6058 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.4432, allocations: 1.193 MB / 0.6069 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.766e-05/0.4433, allocations: 119.6 kB / 0.607 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002894/0.4436, allocations: 164.1 kB / 0.6072 GB, free: 2.395 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004132/0.4477, allocations: 2.96 MB / 0.6101 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.4478, allocations: 0 / 0.6101 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000188/0.448, allocations: 67.98 kB / 0.6101 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003605/0.4483, allocations: 167.1 kB / 0.6103 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003908/0.4523, allocations: 2.522 MB / 0.6128 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.4649, allocations: 10.83 MB / 0.6233 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.4665, allocations: 0.9548 MB / 0.6243 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007253/0.4673, allocations: 0.5048 MB / 0.6248 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.4674, allocations: 101.5 kB / 0.6249 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.4674, allocations: 42.88 kB / 0.6249 GB, free: 15.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=46): time 3.246e-06/0.4675, allocations: 0 / 0.6249 GB, free: 15.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=70): time 0.02985/0.4973, allocations: 8.055 MB / 0.6328 GB, free: 7.078 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.4974, allocations: 67.89 kB / 0.6328 GB, free: 7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.499, allocations: 0.922 MB / 0.6337 GB, free: 6.066 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.4991, allocations: 37.7 kB / 0.6338 GB, free: 6.023 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/0.4997, allocations: 0.7775 MB / 0.6345 GB, free: 5.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.5, allocations: 240.5 kB / 0.6348 GB, free: 4.992 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004849/0.5005, allocations: 214.8 kB / 0.635 GB, free: 4.773 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.5007, allocations: 410.7 kB / 0.6354 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.5021, allocations: 0.8023 MB / 0.6361 GB, free: 3.559 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.5037, allocations: 1.151 MB / 0.6373 GB, free: 2.254 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00295/0.5067, allocations: 1.997 MB / 0.6392 GB, free: 104 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.5067, allocations: 8 kB / 0.6392 GB, free: 96 kB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009717/0.5165, allocations: 3.662 MB / 0.6428 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.5165, allocations: 12 kB / 0.6428 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.5165, allocations: 8 kB / 0.6428 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007529/0.5241, allocations: 1.908 MB / 0.6447 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.5253, allocations: 235.6 kB / 0.6449 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/0.5413, allocations: 10.58 MB / 0.6552 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.543, allocations: 191.6 kB / 0.6554 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.5432, allocations: 44 kB / 0.6555 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002572/0.5458, allocations: 1.521 MB / 0.657 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001592/0.5474, allocations: 1.124 MB / 0.6581 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002886/0.5503, allocations: 1.95 MB / 0.66 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.548e-05/0.5503, allocations: 4 kB / 0.66 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.008013/0.5583, allocations: 3.088 MB / 0.663 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.5584, allocations: 15.94 kB / 0.663 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.5584, allocations: 8.375 kB / 0.663 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004773/0.5632, allocations: 1.209 MB / 0.6642 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.5645, allocations: 283.6 kB / 0.6645 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008394/0.5729, allocations: 5.849 MB / 0.6702 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.5744, allocations: 175.7 kB / 0.6703 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.5746, allocations: 44 kB / 0.6704 GB, free: 15.44 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.0004071/0.5751, allocations: 252 kB / 0.6706 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.5753, allocations: 86.97 kB / 0.6707 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008668/0.584, allocations: 3.168 MB / 0.6738 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.5841, allocations: 8 kB / 0.6738 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.5841, allocations: 4 kB / 0.6738 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.5841, allocations: 7.922 kB / 0.6738 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.5961, allocations: 5.27 MB / 0.679 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.5962, allocations: 8.25 kB / 0.679 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.5966, allocations: 103.8 kB / 0.6791 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006551/0.6032, allocations: 1.721 MB / 0.6807 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.6034, allocations: 16 kB / 0.6808 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.6174, allocations: 10 MB / 0.6905 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.6175, allocations: 4.188 kB / 0.6905 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00805/0.6255, allocations: 3.022 MB / 0.6935 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006814/0.6263, allocations: 319.9 kB / 0.6938 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.6266, allocations: 24 kB / 0.6938 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.6276, allocations: 135.8 kB / 0.6939 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/0.6279, allocations: 52.48 kB / 0.694 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-05/0.628, allocations: 24 kB / 0.694 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001172/0.6292, allocations: 0.6785 MB / 0.6947 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6292, allocations: 0 / 0.6947 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002562/0.6318, allocations: 0.6992 MB / 0.6954 GB, free: 5.355 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.0002538/0.632, allocations: 123.6 kB / 0.6955 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006763/0.6388, allocations: 3.737 MB / 0.6991 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.6389, allocations: 0 / 0.6991 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.6409, allocations: 1.247 MB / 0.7003 GB, free: 180 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.6425, allocations: 291.2 kB / 0.7006 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006654/0.6492, allocations: 3.686 MB / 0.7042 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.651, allocations: 1.734 MB / 0.7059 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.6514, allocations: 67.42 kB / 0.706 GB, free: 10.33 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.6514, allocations: 0 / 0.706 GB, free: 10.33 MB / 0.545 GB Notification: Performance of Templates: time 0.3175/0.9688, allocations: 43.08 MB / 0.748 GB, free: 156.3 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)