Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000787/0.000787, allocations: 91.48 kB / 16.65 MB, free: 6.59 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.0008595/0.0008595, allocations: 182.7 kB / 17.56 MB, free: 6.203 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.465/1.465, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1871/0.1871, allocations: 38.04 MB / 310.1 MB, free: 5.926 MB / 254.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.0006591/0.0006591, allocations: 16 kB / 377.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2824, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.005833/0.2883, allocations: 6.142 MB / 439.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.2912, allocations: 1.703 MB / 441.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004277/0.2916, allocations: 39.69 kB / 441.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.2921, allocations: 111.3 kB / 441.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007755/0.2929, allocations: 358.5 kB / 441.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.2931, allocations: 131.9 kB / 442 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007231/0.2939, allocations: 1.153 MB / 443.1 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.2942, allocations: 188.8 kB / 443.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.2945, allocations: 286.5 kB / 443.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.295, allocations: 406.6 kB / 444 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.2951, allocations: 24 kB / 444 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.086e-05/0.2952, allocations: 20 kB / 444 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.2953, allocations: 187.4 kB / 444.2 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.2955, allocations: 280.2 kB / 444.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.2959, allocations: 0.537 MB / 445 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2959, allocations: 0 / 445 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2959, allocations: 0 / 445 MB, free: 7.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2959, allocations: 0 / 445 MB, free: 7.098 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001146/0.2971, allocations: 0.7985 MB / 445.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2971, allocations: 8.031 kB / 445.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.2972, allocations: 68.12 kB / 445.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.2978, allocations: 478.7 kB / 446.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.2978, allocations: 36.94 kB / 446.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.2979, allocations: 40 kB / 446.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.2986, allocations: 0.5389 MB / 447 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2986, allocations: 4 kB / 447 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.2986, allocations: 20 kB / 447 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.2987, allocations: 20.98 kB / 447 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.2992, allocations: 395.6 kB / 447.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.301, allocations: 1.928 MB / 449.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.3016, allocations: 341.3 kB / 449.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.3019, allocations: 178 kB / 449.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.3019, allocations: 15.98 kB / 449.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003434/0.3023, allocations: 280.2 kB / 450.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.384e-06/0.3023, allocations: 0 / 450.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.00158/0.3039, allocations: 1.186 MB / 451.3 MB, free: 444 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.3039, allocations: 166.2 kB / 451.5 MB, free: 240 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.3043, allocations: 393.8 kB / 451.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.3044, allocations: 37.7 kB / 451.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.3046, allocations: 295.5 kB / 452.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.67e-05/0.3047, allocations: 114.4 kB / 452.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.3048, allocations: 45.7 kB / 452.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3049, allocations: 358.8 kB / 452.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.3051, allocations: 125.1 kB / 452.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.3055, allocations: 286.1 kB / 453.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.3061, allocations: 481.3 kB / 453.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3061, allocations: 3.938 kB / 453.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007263/0.3068, allocations: 0.5217 MB / 454.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.3069, allocations: 33.7 kB / 454.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3069, allocations: 8 kB / 454.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3069, allocations: 8 kB / 454.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.3073, allocations: 107.8 kB / 454.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.3073, allocations: 11.94 kB / 454.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.3076, allocations: 36.3 kB / 454.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.3077, allocations: 31.97 kB / 454.3 MB, free: 13.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002647/0.3079, allocations: 247.2 kB / 454.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.308, allocations: 47.47 kB / 454.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/0.3087, allocations: 463.6 kB / 455.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3087, allocations: 4 kB / 455.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.3087, allocations: 0 / 455.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3087, allocations: 4 kB / 455.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.31, allocations: 0.9613 MB / 456 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.31, allocations: 0 / 456 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.3103, allocations: 67.89 kB / 456.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3103, allocations: 3.938 kB / 456.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.3104, allocations: 15.98 kB / 456.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3104, allocations: 4 kB / 456.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.3104, allocations: 11.98 kB / 456.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009043/0.3113, allocations: 0.7132 MB / 456.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.3115, allocations: 136.5 kB / 457 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.3115, allocations: 11.98 kB / 457 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3117, allocations: 16 kB / 457 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.3118, allocations: 24.03 kB / 457 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.3119, allocations: 39.89 kB / 457.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002867/0.3122, allocations: 267.1 kB / 457.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3122, allocations: 0 / 457.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.3126, allocations: 107.9 kB / 457.4 MB, free: 9.914 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001352/0.3128, allocations: 107.2 kB / 457.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005751/0.3133, allocations: 414.8 kB / 457.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3134, allocations: 0 / 457.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.3136, allocations: 263.2 kB / 458.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.3143, allocations: 99.36 kB / 458.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.3163, allocations: 1.217 MB / 459.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.3168, allocations: 0.882 MB / 460.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003089/0.3171, allocations: 88.31 kB / 460.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3173, allocations: 39.42 kB / 460.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3173, allocations: 0 / 460.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of Templates: time 0.008704/0.326, allocations: 3.9 MB / 464.4 MB, free: 2.848 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) Environment - environmentSimulation: