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.001462/0.001462, allocations: 180.1 kB / 8.009 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 86.64 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2665/0.2665, allocations: 38 MB / 347.7 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.729e-05, allocations: 4 kB / 409.9 MB, free: 35.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 56.33 MB / 466.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.51/0.6233, allocations: 101.3 MB / 0.5543 GB, free: 9.047 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.6237, allocations: 85.64 kB / 0.5543 GB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05956/0.6832, allocations: 14.5 MB / 0.5685 GB, free: 13.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6833, allocations: 0 / 0.5685 GB, free: 13.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.611e-05/0.6833, allocations: 16 kB / 0.5685 GB, free: 13.71 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.001671/0.685, allocations: 0.675 MB / 0.5692 GB, free: 13.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.6851, allocations: 8.031 kB / 0.5692 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009128/0.686, allocations: 91.38 kB / 0.5693 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.6894, allocations: 0.8493 MB / 0.5701 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.6894, allocations: 12 kB / 0.5701 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.6896, allocations: 24 kB / 0.5701 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009884/0.6906, allocations: 384.1 kB / 0.5705 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.6917, allocations: 0.5799 MB / 0.5711 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.6918, allocations: 8 kB / 0.5711 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.6918, allocations: 0 / 0.5711 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.692, allocations: 39.08 kB / 0.5711 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005154/0.6972, allocations: 2.953 MB / 0.574 GB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007018/0.6979, allocations: 248.2 kB / 0.5742 GB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.6983, allocations: 139 kB / 0.5744 GB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.6983, allocations: 11.89 kB / 0.5744 GB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.6984, allocations: 45.31 kB / 0.5744 GB, free: 8.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.206e-06/0.6984, allocations: 0 / 0.5744 GB, free: 8.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002286/0.7007, allocations: 0.8714 MB / 0.5753 GB, free: 7.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.7008, allocations: 81.11 kB / 0.5753 GB, free: 7.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.7012, allocations: 271.2 kB / 0.5756 GB, free: 7.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.7013, allocations: 25.7 kB / 0.5756 GB, free: 6.992 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.7015, allocations: 335.3 kB / 0.5759 GB, free: 6.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.7016, allocations: 94.88 kB / 0.576 GB, free: 6.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.7017, allocations: 0 / 0.576 GB, free: 6.621 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7018, allocations: 332.7 kB / 0.5763 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.7021, allocations: 136 kB / 0.5765 GB, free: 6.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.7026, allocations: 306.7 kB / 0.5768 GB, free: 5.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.7031, allocations: 199.6 kB / 0.577 GB, free: 5.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.7032, allocations: 4 kB / 0.577 GB, free: 5.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001654/0.7048, allocations: 0.5613 MB / 0.5775 GB, free: 5.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.7049, allocations: 4 kB / 0.5775 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001051/0.7059, allocations: 365.1 kB / 0.5779 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/0.7066, allocations: 106.8 kB / 0.578 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.7072, allocations: 86.58 kB / 0.5781 GB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.7108, allocations: 2.89 MB / 0.5809 GB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/0.7114, allocations: 11.98 kB / 0.5809 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.7114, allocations: 19.75 kB / 0.5809 GB, free: 1.871 MB / 378.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 () * 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.0001792/0.7116, allocations: 124.8 kB / 0.581 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007884/0.7124, allocations: 322.1 kB / 0.5813 GB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.7125, allocations: 34.52 kB / 0.5814 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009504/0.7135, allocations: 353.2 kB / 0.5817 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.7135, allocations: 8 kB / 0.5817 GB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.7135, allocations: 0 / 0.5817 GB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.7136, allocations: 8.016 kB / 0.5817 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.7154, allocations: 0.7887 MB / 0.5825 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.7154, allocations: 4 kB / 0.5825 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/0.7162, allocations: 67.27 kB / 0.5826 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.7162, allocations: 0 / 0.5826 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.7163, allocations: 4.141 kB / 0.5826 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.7163, allocations: 4.062 kB / 0.5826 GB, free: 420 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.7163, allocations: 4 kB / 0.5826 GB, free: 416 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.7174, allocations: 0.6034 MB / 0.5832 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.7177, allocations: 135.7 kB / 0.5833 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.7178, allocations: 0 / 0.5833 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.7181, allocations: 15.94 kB / 0.5833 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.7182, allocations: 19.34 kB / 0.5833 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.7182, allocations: 4 kB / 0.5833 GB, free: 15.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002874/0.7185, allocations: 203.3 kB / 0.5835 GB, free: 15.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7185, allocations: 7.938 kB / 0.5835 GB, free: 15.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007929/0.7193, allocations: 107.9 kB / 0.5836 GB, free: 15.43 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 () * 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.001686/0.721, allocations: 1.38 MB / 0.585 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.7225, allocations: 0.5651 MB / 0.5855 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7225, allocations: 0 / 0.5855 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.7228, allocations: 145.3 kB / 0.5857 GB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.7234, allocations: 54.39 kB / 0.5857 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.726, allocations: 0.9549 MB / 0.5866 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.7266, allocations: 0.879 MB / 0.5875 GB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.7269, allocations: 155.1 kB / 0.5877 GB, free: 11.65 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.727, allocations: 0 / 0.5877 GB, free: 11.65 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.032/3.759, allocations: 8.589 MB / 0.596 GB, free: 3.133 MB / 394.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)