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.001115/0.001115, allocations: 99.05 kB / 16.5 MB, free: 6.648 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.001138/0.001138, allocations: 194 kB / 17.42 MB, free: 6.066 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.337/1.337, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1707/0.1707, allocations: 37.99 MB / 308.6 MB, free: 6.238 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.001404/0.001404, allocations: 71.41 kB / 374.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2674, allocations: 55.24 MB / 430 MB, free: 19.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006083/0.2736, allocations: 6.551 MB / 436.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.2762, allocations: 1.664 MB / 438.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.2766, allocations: 39.75 kB / 438.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.277, allocations: 115.3 kB / 438.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006408/0.2777, allocations: 342.6 kB / 438.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.2779, allocations: 119.9 kB / 438.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006797/0.2786, allocations: 1.142 MB / 439.9 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.2788, allocations: 168.1 kB / 440.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003758/0.2792, allocations: 294.5 kB / 440.4 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005047/0.2797, allocations: 394.7 kB / 440.8 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.2798, allocations: 27.94 kB / 440.8 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.767e-05/0.2799, allocations: 28 kB / 440.8 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.28, allocations: 191.5 kB / 441 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.2802, allocations: 234.8 kB / 441.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.2806, allocations: 0.5138 MB / 441.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.2806, allocations: 4 kB / 441.8 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2806, allocations: 0 / 441.8 MB, free: 7.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2806, allocations: 0 / 441.8 MB, free: 7.91 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.001192/0.2818, allocations: 0.8008 MB / 442.6 MB, free: 7.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.2819, allocations: 12.03 kB / 442.6 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.455e-05/0.2819, allocations: 78.72 kB / 442.6 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.118e-05/0.282, allocations: 52.28 kB / 442.7 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.2826, allocations: 460.1 kB / 443.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.2826, allocations: 32.98 kB / 443.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.2827, allocations: 36 kB / 443.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.2833, allocations: 0.4961 MB / 443.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.2833, allocations: 3.984 kB / 443.7 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.2833, allocations: 16 kB / 443.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.2834, allocations: 21 kB / 443.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.2838, allocations: 367.6 kB / 444.1 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.2857, allocations: 2.095 MB / 446.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.2861, allocations: 237.2 kB / 446.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.2863, allocations: 137.7 kB / 446.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.2863, allocations: 4 kB / 446.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.2863, allocations: 34.56 kB / 446.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.2863, allocations: 0 / 446.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009904/0.2873, allocations: 0.7544 MB / 447.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.2874, allocations: 88.98 kB / 447.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.2877, allocations: 389.4 kB / 447.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2877, allocations: 29.7 kB / 447.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.2878, allocations: 295 kB / 448.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.2879, allocations: 74.91 kB / 448.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.288, allocations: 81.95 kB / 448.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.2881, allocations: 350.8 kB / 448.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.2882, allocations: 92.81 kB / 448.7 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.2883, allocations: 273.2 kB / 449 MB, free: 168 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.2888, allocations: 413 kB / 449.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2888, allocations: 0 / 449.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006935/0.2895, allocations: 445.3 kB / 449.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2895, allocations: 8.812 kB / 449.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.2895, allocations: 8 kB / 449.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.2898, allocations: 56.83 kB / 449.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.29, allocations: 75.84 kB / 450 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.2915, allocations: 1.5 MB / 451.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.2917, allocations: 16.19 kB / 451.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.2917, allocations: 20 kB / 451.5 MB, free: 13.41 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.0002109/0.2919, allocations: 205.6 kB / 451.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.292, allocations: 35.53 kB / 451.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.2924, allocations: 237.1 kB / 452 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2924, allocations: 11.94 kB / 452 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.2924, allocations: 0 / 452 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2924, allocations: 0 / 452 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008149/0.2932, allocations: 0.6904 MB / 452.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2932, allocations: 0 / 452.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.2935, allocations: 51.91 kB / 452.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.2935, allocations: 7.938 kB / 452.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2935, allocations: 0 / 452.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2935, allocations: 8.031 kB / 452.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2935, allocations: 0 / 452.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.294, allocations: 433.1 kB / 453.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.2941, allocations: 136.5 kB / 453.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.2942, allocations: 3.938 kB / 453.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2943, allocations: 16.05 kB / 453.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.2944, allocations: 19.92 kB / 453.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.2944, allocations: 4 kB / 453.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.2946, allocations: 255.2 kB / 453.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2946, allocations: 0 / 453.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004346/0.2951, allocations: 91.98 kB / 453.7 MB, free: 11.12 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.000765/0.2958, allocations: 0.979 MB / 454.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006525/0.2965, allocations: 391.2 kB / 455.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2965, allocations: 0 / 455.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.2967, allocations: 91.91 kB / 455.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.2972, allocations: 94.91 kB / 455.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.3015, allocations: 3.884 MB / 459.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.302, allocations: 0.8623 MB / 460 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002702/0.3023, allocations: 84.14 kB / 460.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.3024, allocations: 143.4 kB / 460.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3024, allocations: 7.938 kB / 460.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.3224, allocations: 7.192 MB / 467.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.3227, allocations: 231.7 kB / 467.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.351, allocations: 0 / 467.6 MB, free: 12.82 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)