Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.001623/0.001628, allocations: 181.9 kB / 15.76 MB, free: 6.344 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.986/1.986, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001112/0.001112, allocations: 98.84 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2504/0.2504, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007044/0.0007045, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1299, allocations: 56.33 MB / 479.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4973/0.6272, allocations: 102 MB / 0.5676 GB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.6276, allocations: 90.52 kB / 0.5676 GB, free: 13.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06651/0.6941, allocations: 14.63 MB / 0.5819 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6942, allocations: 4 kB / 0.5819 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.877e-05/0.6942, allocations: 8 kB / 0.5819 GB, free: 0.8164 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001946/0.6962, allocations: 0.731 MB / 0.5827 GB, free: 64 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.6962, allocations: 8.031 kB / 0.5827 GB, free: 56 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/0.6964, allocations: 89.2 kB / 0.5827 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.6974, allocations: 95.28 kB / 0.5828 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003485/0.7009, allocations: 0.8631 MB / 0.5837 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.701, allocations: 31.67 kB / 0.5837 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.7011, allocations: 47.08 kB / 0.5838 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.7026, allocations: 0.6337 MB / 0.5844 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.7026, allocations: 7.938 kB / 0.5844 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-05/0.7027, allocations: 17.12 kB / 0.5844 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.7029, allocations: 48.47 kB / 0.5844 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.704, allocations: 457.3 kB / 0.5849 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004997/0.7091, allocations: 3.052 MB / 0.5879 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/0.7098, allocations: 259.7 kB / 0.5881 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.193e-05/0.7099, allocations: 4.062 kB / 0.5881 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.71, allocations: 33.44 kB / 0.5881 GB, free: 11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.396e-06/0.71, allocations: 4 kB / 0.5882 GB, free: 10.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.002765/0.7127, allocations: 1.094 MB / 0.5892 GB, free: 10.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.7128, allocations: 84.23 kB / 0.5893 GB, free: 9.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004749/0.7133, allocations: 279.7 kB / 0.5896 GB, free: 9.695 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.7134, allocations: 32.5 kB / 0.5896 GB, free: 9.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.7136, allocations: 333.6 kB / 0.5899 GB, free: 9.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.7138, allocations: 108.1 kB / 0.59 GB, free: 9.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.7138, allocations: 10.31 kB / 0.59 GB, free: 9.273 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.714, allocations: 326 kB / 0.5903 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.7144, allocations: 148.7 kB / 0.5905 GB, free: 8.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.7149, allocations: 321.6 kB / 0.5908 GB, free: 8.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.7155, allocations: 206.3 kB / 0.591 GB, free: 8.371 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.7155, allocations: 4 kB / 0.591 GB, free: 8.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001851/0.7173, allocations: 0.6073 MB / 0.5916 GB, free: 7.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.7174, allocations: 4 kB / 0.5916 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001191/0.7186, allocations: 376.9 kB / 0.5919 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006799/0.7193, allocations: 122.4 kB / 0.5921 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/0.7199, allocations: 83.83 kB / 0.5921 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.724, allocations: 3.056 MB / 0.5951 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.7246, allocations: 23.95 kB / 0.5951 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.7246, allocations: 19.98 kB / 0.5952 GB, free: 4.305 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * 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 initialization (46): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004347/0.7251, allocations: 218.8 kB / 0.5954 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.54e-05/0.7252, allocations: 39.52 kB / 0.5954 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.7263, allocations: 373.9 kB / 0.5958 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/0.7263, allocations: 6.688 kB / 0.5958 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7263, allocations: 0 / 0.5958 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.7263, allocations: 4 kB / 0.5958 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.7285, allocations: 0.8875 MB / 0.5966 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.7285, allocations: 0 / 0.5966 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007407/0.7292, allocations: 61.58 kB / 0.5967 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.7293, allocations: 4 kB / 0.5967 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.7293, allocations: 7.25 kB / 0.5967 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.7293, allocations: 3.938 kB / 0.5967 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.7293, allocations: 4.062 kB / 0.5967 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.7307, allocations: 0.614 MB / 0.5973 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.731, allocations: 143.7 kB / 0.5975 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/0.7311, allocations: 11.2 kB / 0.5975 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.7314, allocations: 11.42 kB / 0.5975 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.7315, allocations: 23.28 kB / 0.5975 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.7316, allocations: 11.44 kB / 0.5975 GB, free: 2.242 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000352/0.7319, allocations: 213.5 kB / 0.5977 GB, free: 2.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7319, allocations: 0 / 0.5977 GB, free: 2.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007801/0.7327, allocations: 116.9 kB / 0.5978 GB, free: 1.969 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 (28): * Single equations (assignments): 26 * Array equations: 1 * 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.001913/0.7346, allocations: 1.399 MB / 0.5992 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.7363, allocations: 0.6227 MB / 0.5998 GB, free: 124 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.7363, allocations: 448 / 0.5998 GB, free: 124 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.7367, allocations: 151.2 kB / 0.6 GB, free: 16 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.7373, allocations: 65.2 kB / 0.6 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/0.7454, allocations: 6.601 MB / 0.6065 GB, free: 9.582 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007483/0.7462, allocations: 0.8867 MB / 0.6073 GB, free: 8.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/0.7466, allocations: 150.3 kB / 0.6075 GB, free: 8.641 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.7466, allocations: 0 / 0.6075 GB, free: 8.641 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.763/3.509, allocations: 8.645 MB / 0.6159 GB, free: 56 kB / 410.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)