Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008492/0.0008492, allocations: 174.7 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.4 MB / 222.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006799/0.0006801, allocations: 85.55 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1656/0.1656, allocations: 38.08 MB / 356.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 19.98 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2637, allocations: 56.32 MB / 479.7 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005519/0.2693, allocations: 5.832 MB / 485.6 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.2718, allocations: 1.596 MB / 487.2 MB, free: 4.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003986/0.2723, allocations: 36 kB / 487.2 MB, free: 4.164 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.2727, allocations: 154.8 kB / 487.4 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009819/0.2737, allocations: 415.2 kB / 487.8 MB, free: 3.871 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.2742, allocations: 164.9 kB / 487.9 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009965/0.2752, allocations: 0.9093 MB / 488.8 MB, free: 3.453 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.2754, allocations: 161.2 kB / 489 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.2758, allocations: 283.5 kB / 489.3 MB, free: 3.266 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/0.2764, allocations: 379.2 kB / 489.6 MB, free: 3.145 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.2765, allocations: 20.34 kB / 489.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.872e-05/0.2765, allocations: 20.62 kB / 489.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.2767, allocations: 174 kB / 489.8 MB, free: 3.098 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.277, allocations: 245 kB / 490.1 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.2774, allocations: 395.6 kB / 490.5 MB, free: 2.855 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2774, allocations: 0 / 490.5 MB, free: 2.855 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.2775, allocations: 5.25 kB / 490.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2775, allocations: 3.938 kB / 490.5 MB, free: 2.848 MB / 314.7 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.001085/0.2786, allocations: 0.7206 MB / 491.2 MB, free: 2.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2786, allocations: 9.625 kB / 491.2 MB, free: 2.305 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.347e-05/0.2787, allocations: 79.81 kB / 491.3 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.67e-05/0.2788, allocations: 53.64 kB / 491.3 MB, free: 2.215 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.2794, allocations: 465.2 kB / 491.8 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.2795, allocations: 28.12 kB / 491.8 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.2795, allocations: 38.12 kB / 491.9 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007179/0.2802, allocations: 0.4923 MB / 492.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2803, allocations: 1.312 kB / 492.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.2803, allocations: 19.92 kB / 492.4 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.2803, allocations: 23.47 kB / 492.4 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.2809, allocations: 362.9 kB / 492.8 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.2831, allocations: 2.086 MB / 494.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.2835, allocations: 242.6 kB / 495.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.2838, allocations: 131.5 kB / 495.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.2838, allocations: 2.422 kB / 495.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2838, allocations: 33.83 kB / 495.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.794e-06/0.2838, allocations: 0 / 495.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001181/0.285, allocations: 0.7584 MB / 496 MB, free: 15.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.2851, allocations: 83.95 kB / 496.1 MB, free: 15.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.2855, allocations: 376 kB / 496.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2855, allocations: 31.08 kB / 496.5 MB, free: 14.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.2857, allocations: 292.2 kB / 496.8 MB, free: 14.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.2858, allocations: 77.84 kB / 496.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.2858, allocations: 17.47 kB / 496.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.286, allocations: 349.9 kB / 497.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2861, allocations: 82.86 kB / 497.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.2864, allocations: 277.5 kB / 497.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.2868, allocations: 406.8 kB / 497.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2869, allocations: 2.531 kB / 497.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007473/0.2876, allocations: 447.3 kB / 498.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2876, allocations: 11.47 kB / 498.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.2877, allocations: 10.98 kB / 498.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/0.2879, allocations: 51.09 kB / 498.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.2882, allocations: 80.5 kB / 498.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.2896, allocations: 1.505 MB / 0.4883 GB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.2898, allocations: 19.05 kB / 0.4883 GB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.2898, allocations: 16.88 kB / 0.4884 GB, free: 11.87 MB / 330.7 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 (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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002688/0.2901, allocations: 204.4 kB / 0.4885 GB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.2902, allocations: 37.22 kB / 0.4886 GB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.2906, allocations: 238.8 kB / 0.4888 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2906, allocations: 6.828 kB / 0.4888 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.2906, allocations: 1.125 kB / 0.4888 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2906, allocations: 1.5 kB / 0.4888 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.2915, allocations: 0.679 MB / 0.4895 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2916, allocations: 1.344 kB / 0.4895 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.2918, allocations: 51.94 kB / 0.4895 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2918, allocations: 9.969 kB / 0.4895 GB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.2918, allocations: 2.406 kB / 0.4895 GB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2918, allocations: 2.047 kB / 0.4895 GB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2919, allocations: 1.469 kB / 0.4896 GB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.2924, allocations: 439.7 kB / 0.49 GB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.2925, allocations: 127.5 kB / 0.4901 GB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.2925, allocations: 7.484 kB / 0.4901 GB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2927, allocations: 8.25 kB / 0.4901 GB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.2927, allocations: 19.86 kB / 0.4901 GB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.2927, allocations: 4.844 kB / 0.4901 GB, free: 10.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003215/0.2931, allocations: 252.7 kB / 0.4904 GB, free: 10.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.643e-06/0.2931, allocations: 0 / 0.4904 GB, free: 10.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004472/0.2935, allocations: 94.25 kB / 0.4905 GB, free: 10.54 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007501/0.2943, allocations: 0.9705 MB / 0.4914 GB, free: 9.742 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007358/0.295, allocations: 382.4 kB / 0.4918 GB, free: 9.543 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.295, allocations: 0 / 0.4918 GB, free: 9.543 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.2952, allocations: 95.89 kB / 0.4919 GB, free: 9.512 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.2959, allocations: 96.95 kB / 0.492 GB, free: 9.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.2995, allocations: 2.502 MB / 0.4944 GB, free: 7.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.3, allocations: 0.8637 MB / 0.4952 GB, free: 7.035 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.3002, allocations: 152.4 kB / 0.4954 GB, free: 6.91 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3002, allocations: 0 / 0.4954 GB, free: 6.91 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.397/3.697, allocations: 7.382 MB / 0.5026 GB, free: 2.398 MB / 330.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)