Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001056, allocations: 95.88 kB / 16.3 MB, free: 6.121 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.001059/0.001059, allocations: 181.8 kB / 17.2 MB, free: 6.004 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.68/1.68, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1775/0.1775, allocations: 38.04 MB / 309.7 MB, free: 6.137 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.0006117/0.0006122, allocations: 12 kB / 376.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3044, allocations: 56.33 MB / 432.8 MB, free: 18.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.004567/0.309, allocations: 5.557 MB / 438.4 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.3112, allocations: 1.607 MB / 440 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.3116, allocations: 39.69 kB / 440 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.3119, allocations: 119.2 kB / 440.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000782/0.3127, allocations: 331 kB / 440.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.3131, allocations: 167.7 kB / 440.6 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.3135, allocations: 387.2 kB / 441 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.3138, allocations: 154.4 kB / 441.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.3141, allocations: 243.1 kB / 441.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.3145, allocations: 251.1 kB / 441.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.3146, allocations: 23.94 kB / 441.6 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.3146, allocations: 20 kB / 441.7 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.3148, allocations: 163.6 kB / 441.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.49e-05/0.3149, allocations: 117.5 kB / 441.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.3151, allocations: 395 kB / 442.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3152, allocations: 4 kB / 442.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3152, allocations: 0 / 442.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3152, allocations: 3.938 kB / 442.3 MB, free: 9.289 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00102/0.3162, allocations: 0.7189 MB / 443.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3163, allocations: 8.031 kB / 443.1 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.31e-05/0.3163, allocations: 55.34 kB / 443.1 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006249/0.317, allocations: 443.4 kB / 443.5 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.317, allocations: 29 kB / 443.6 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.3171, allocations: 40 kB / 443.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005989/0.3177, allocations: 0.4922 MB / 444.1 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3177, allocations: 4 kB / 444.1 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/0.3177, allocations: 23.94 kB / 444.1 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/0.3178, allocations: 28.98 kB / 444.2 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.3182, allocations: 363.6 kB / 444.5 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.3202, allocations: 2.083 MB / 446.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.3206, allocations: 241.9 kB / 446.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3206, allocations: 4.25 kB / 446.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.3206, allocations: 38.73 kB / 446.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.442e-06/0.3206, allocations: 0 / 446.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001222/0.3219, allocations: 0.9424 MB / 447.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.3219, allocations: 81.11 kB / 447.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.3222, allocations: 381.5 kB / 448.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3223, allocations: 29.7 kB / 448.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.3224, allocations: 295.1 kB / 448.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.3224, allocations: 82.81 kB / 448.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.3225, allocations: 12 kB / 448.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.3225, allocations: 346.8 kB / 449 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3227, allocations: 88.81 kB / 449.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.3229, allocations: 273.2 kB / 449.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.323, allocations: 143.6 kB / 449.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3231, allocations: 0 / 449.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005501/0.3236, allocations: 461.7 kB / 450 MB, free: 1.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3236, allocations: 4 kB / 450 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.3237, allocations: 8 kB / 450 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/0.3239, allocations: 68.8 kB / 450 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.3241, allocations: 80.23 kB / 450.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.3256, allocations: 1.617 MB / 451.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.3258, allocations: 27.91 kB / 451.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.3259, allocations: 16 kB / 451.8 MB, free: 15.17 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000274/0.3261, allocations: 205.6 kB / 452 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.3262, allocations: 35.53 kB / 452 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/0.3268, allocations: 343 kB / 452.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3268, allocations: 8 kB / 452.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3268, allocations: 0 / 452.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3268, allocations: 0 / 452.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.328, allocations: 0.794 MB / 453.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.328, allocations: 0 / 453.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.3282, allocations: 43.91 kB / 453.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.669e-05/0.3283, allocations: 24.89 kB / 453.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.3283, allocations: 4 kB / 453.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.3294, allocations: 1.385 MB / 454.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3294, allocations: 0 / 454.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.33, allocations: 0.5649 MB / 455.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.3301, allocations: 116.7 kB / 455.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.3302, allocations: 8 kB / 455.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.3303, allocations: 8 kB / 455.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.3303, allocations: 19.92 kB / 455.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3304, allocations: 8 kB / 455.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002445/0.3306, allocations: 251.2 kB / 455.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3306, allocations: 0 / 455.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005731/0.3312, allocations: 96.06 kB / 455.7 MB, free: 10.95 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001514/0.3314, allocations: 111 kB / 455.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000772/0.3321, allocations: 395.6 kB / 456.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3322, allocations: 0 / 456.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.3324, allocations: 210.5 kB / 456.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.3329, allocations: 86.48 kB / 456.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.3344, allocations: 1.03 MB / 457.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.3348, allocations: 0.874 MB / 458.4 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.3351, allocations: 80.12 kB / 458.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.3351, allocations: 31.44 kB / 458.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3352, allocations: 0 / 458.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of Templates: time 0.00827/0.3434, allocations: 3.446 MB / 461.9 MB, free: 4.621 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) Environment - environmentSimulation: