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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008634/0.0008635, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.0009259/0.0009259, allocations: 177 kB / 17.56 MB, free: 6.18 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.334/1.334, 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.1754/0.1754, allocations: 38.05 MB / 310.1 MB, free: 5.906 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.0005852/0.0005853, allocations: 15.55 kB / 377.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2523, allocations: 56.33 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005026/0.2573, allocations: 6.123 MB / 439.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.2597, allocations: 1.649 MB / 441.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005827/0.2603, allocations: 39.75 kB / 441.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.2608, allocations: 111.3 kB / 441.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008291/0.2616, allocations: 346.6 kB / 441.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.262, allocations: 131.8 kB / 442 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008313/0.2628, allocations: 1.134 MB / 443.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.263, allocations: 172.1 kB / 443.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.2634, allocations: 282.5 kB / 443.6 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000561/0.2639, allocations: 378.7 kB / 443.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.264, allocations: 20 kB / 443.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.952e-05/0.2641, allocations: 20 kB / 444 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.2642, allocations: 179.5 kB / 444.1 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.2645, allocations: 252.4 kB / 444.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.2648, allocations: 0.502 MB / 444.9 MB, free: 7.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2648, allocations: 0 / 444.9 MB, free: 7.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.2649, allocations: 7.984 kB / 444.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2649, allocations: 0 / 444.9 MB, free: 7.266 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.001047/0.2659, allocations: 0.7152 MB / 445.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.266, allocations: 12.03 kB / 445.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.6e-05/0.2661, allocations: 86.64 kB / 445.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.159e-05/0.2661, allocations: 56.28 kB / 445.8 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.2667, allocations: 448.3 kB / 446.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.2667, allocations: 32.94 kB / 446.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.2668, allocations: 43.98 kB / 446.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006322/0.2674, allocations: 0.4961 MB / 446.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2674, allocations: 0 / 446.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.2675, allocations: 20 kB / 446.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.2675, allocations: 20.94 kB / 446.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.268, allocations: 371.6 kB / 447.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.2698, allocations: 2.087 MB / 449.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.2702, allocations: 245.3 kB / 449.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.2704, allocations: 129.5 kB / 449.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.2704, allocations: 4 kB / 449.6 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2704, allocations: 42.48 kB / 449.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.333e-06/0.2704, allocations: 0 / 449.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009129/0.2713, allocations: 0.7543 MB / 450.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.2714, allocations: 85.05 kB / 450.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.2716, allocations: 377.5 kB / 450.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.2717, allocations: 29.7 kB / 450.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.2718, allocations: 302.9 kB / 451.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.2718, allocations: 82.89 kB / 451.3 MB, free: 492 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.2719, allocations: 41.83 kB / 451.3 MB, free: 444 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.2719, allocations: 346.8 kB / 451.7 MB, free: 88 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.272, allocations: 88.81 kB / 451.8 MB, free: 0 / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.2723, allocations: 277.3 kB / 452 MB, free: 15.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.2728, allocations: 408.1 kB / 452.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2728, allocations: 4 kB / 452.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006558/0.2735, allocations: 450 kB / 452.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2735, allocations: 8 kB / 452.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.2735, allocations: 11.98 kB / 452.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.2737, allocations: 52.86 kB / 452.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.2739, allocations: 83.84 kB / 453 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.2752, allocations: 1.504 MB / 454.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.2754, allocations: 12 kB / 454.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.2755, allocations: 20 kB / 454.6 MB, free: 12.87 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.2757, allocations: 201.7 kB / 454.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.2757, allocations: 35.53 kB / 454.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.2761, allocations: 245.1 kB / 455 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2761, allocations: 7.938 kB / 455 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.2761, allocations: 0 / 455 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2761, allocations: 4 kB / 455 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000761/0.2769, allocations: 0.6787 MB / 455.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2769, allocations: 0 / 455.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.2771, allocations: 43.97 kB / 455.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.2771, allocations: 7.969 kB / 455.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2771, allocations: 8 kB / 455.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2771, allocations: 7.938 kB / 455.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2772, allocations: 0 / 455.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.2776, allocations: 440.8 kB / 456.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.2777, allocations: 132.5 kB / 456.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.2778, allocations: 12.05 kB / 456.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.2779, allocations: 8 kB / 456.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.2779, allocations: 15.97 kB / 456.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.278, allocations: 8 kB / 456.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.2782, allocations: 267 kB / 456.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2782, allocations: 0 / 456.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.2786, allocations: 88 kB / 456.7 MB, free: 10.58 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0007579/0.2794, allocations: 0.9673 MB / 457.7 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006546/0.28, allocations: 391 kB / 458.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2801, allocations: 0 / 458.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.2802, allocations: 91.91 kB / 458.2 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.2808, allocations: 99.16 kB / 458.3 MB, free: 9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.2851, allocations: 3.921 MB / 462.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.2855, allocations: 0.8584 MB / 463 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.2858, allocations: 96.06 kB / 463.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.286, allocations: 155.4 kB / 463.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.286, allocations: 0 / 463.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.3083, allocations: 7.091 MB / 470.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.3085, allocations: 226.9 kB / 470.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.119, allocations: 3.938 kB / 470.6 MB, free: 12.38 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)