Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsource,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PVsource",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.002474/0.002474, allocations: 181.8 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 2.074/2.074, allocations: 205.4 MB / 221.9 MB, free: 13.69 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.001214/0.001213, allocations: 94.84 kB / 270.2 MB, free: 13.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2928/0.2928, allocations: 38.06 MB / 356.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004711, allocations: 12 kB / 422.8 MB, free: 26.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1229, allocations: 56.33 MB / 479.1 MB, free: 1.926 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5227/0.6457, allocations: 96.58 MB / 0.5622 GB, free: 3.148 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.6461, allocations: 91.02 kB / 0.5623 GB, free: 3.102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05827/0.7044, allocations: 12.55 MB / 0.5746 GB, free: 8.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.7044, allocations: 0 / 0.5746 GB, free: 8.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.783e-05/0.7045, allocations: 8 kB / 0.5746 GB, free: 8.316 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001952/0.7064, allocations: 0.6692 MB / 0.5752 GB, free: 7.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.894e-05/0.7065, allocations: 8.031 kB / 0.5752 GB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002497/0.7068, allocations: 85.34 kB / 0.5753 GB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.7079, allocations: 87.38 kB / 0.5754 GB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/0.7117, allocations: 0.8751 MB / 0.5762 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.7118, allocations: 19.56 kB / 0.5763 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.712, allocations: 38.41 kB / 0.5763 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.7131, allocations: 464.6 kB / 0.5767 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.7132, allocations: 7.938 kB / 0.5768 GB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/0.7133, allocations: 17.12 kB / 0.5768 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.124e-05/0.7134, allocations: 24.94 kB / 0.5768 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009069/0.7143, allocations: 328.9 kB / 0.5771 GB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.7181, allocations: 1.706 MB / 0.5788 GB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.7187, allocations: 147.4 kB / 0.5789 GB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.7187, allocations: 8.328 kB / 0.5789 GB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.7188, allocations: 33.44 kB / 0.579 GB, free: 4.293 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 3.337e-06/0.7188, allocations: 0 / 0.579 GB, free: 4.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.002492/0.7213, allocations: 0.8528 MB / 0.5798 GB, free: 3.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.7214, allocations: 83.73 kB / 0.5799 GB, free: 3.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.7219, allocations: 272.8 kB / 0.5801 GB, free: 3.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.722, allocations: 25.7 kB / 0.5802 GB, free: 3.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.7222, allocations: 304.8 kB / 0.5804 GB, free: 2.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.228e-05/0.7223, allocations: 60.86 kB / 0.5805 GB, free: 2.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.7224, allocations: 7.562 kB / 0.5805 GB, free: 2.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.7225, allocations: 330.2 kB / 0.5808 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.7228, allocations: 96.53 kB / 0.5809 GB, free: 2.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.7232, allocations: 200.9 kB / 0.5811 GB, free: 2.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.7235, allocations: 127.5 kB / 0.5812 GB, free: 2.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7235, allocations: 0 / 0.5812 GB, free: 2.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001435/0.725, allocations: 436.2 kB / 0.5816 GB, free: 1.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.7251, allocations: 4 kB / 0.5816 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001034/0.7261, allocations: 290.5 kB / 0.5819 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008132/0.727, allocations: 134.3 kB / 0.5821 GB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.7274, allocations: 54.53 kB / 0.5821 GB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004458/0.7319, allocations: 2.204 MB / 0.5843 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.7323, allocations: 13.48 kB / 0.5843 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.7324, allocations: 15 kB / 0.5843 GB, free: 15.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003869/0.7328, allocations: 186.8 kB / 0.5845 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/0.7329, allocations: 31.62 kB / 0.5845 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007776/0.7337, allocations: 248.3 kB / 0.5847 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.7337, allocations: 4 kB / 0.5847 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.7338, allocations: 0 / 0.5847 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.7338, allocations: 7.953 kB / 0.5847 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.7358, allocations: 0.7121 MB / 0.5854 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.7358, allocations: 0 / 0.5854 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.7363, allocations: 47.41 kB / 0.5855 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001789/0.7365, allocations: 28.11 kB / 0.5855 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.7365, allocations: 7.25 kB / 0.5855 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.7384, allocations: 1.492 MB / 0.587 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.7385, allocations: 32 / 0.587 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009836/0.7395, allocations: 464.4 kB / 0.5874 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.7397, allocations: 104.2 kB / 0.5875 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.7398, allocations: 11.44 kB / 0.5875 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.7401, allocations: 15.92 kB / 0.5875 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.7402, allocations: 15.02 kB / 0.5876 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.7402, allocations: 4 kB / 0.5876 GB, free: 12.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003835/0.7406, allocations: 221.2 kB / 0.5878 GB, free: 11.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.879e-06/0.7406, allocations: 0 / 0.5878 GB, free: 11.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007861/0.7414, allocations: 99.25 kB / 0.5879 GB, free: 11.89 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001554/0.743, allocations: 1.217 MB / 0.5891 GB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.7442, allocations: 399.2 kB / 0.5894 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.7443, allocations: 0 / 0.5894 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005817/0.7449, allocations: 222.9 kB / 0.5896 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006875/0.7456, allocations: 67.5 kB / 0.5897 GB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007032/0.7527, allocations: 4.507 MB / 0.5941 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.7535, allocations: 0.8475 MB / 0.5949 GB, free: 4.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.7538, allocations: 129.2 kB / 0.5951 GB, free: 4.902 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/0.7538, allocations: 0 / 0.5951 GB, free: 4.902 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.827/3.58, allocations: 7.566 MB / 0.6025 GB, free: 13.4 MB / 410.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)