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.001456/0.001456, allocations: 181.2 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.203/2.203, allocations: 205.3 MB / 213.7 MB, free: 1.723 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.001589/0.001589, allocations: 82.72 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.2502/0.2502, allocations: 37.99 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.791e-05, allocations: 8 kB / 409.9 MB, free: 35.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 56.32 MB / 466.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4864/0.5905, allocations: 95.82 MB / 0.5489 GB, free: 10.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.5909, allocations: 87.8 kB / 0.549 GB, free: 10.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04846/0.6393, allocations: 12.42 MB / 0.5611 GB, free: 3.941 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.6394, allocations: 0 / 0.5611 GB, free: 3.941 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.088e-05/0.6394, allocations: 11.94 kB / 0.5611 GB, free: 3.93 MB / 362.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.001151/0.6406, allocations: 0.6163 MB / 0.5617 GB, free: 3.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.6406, allocations: 8.031 kB / 0.5617 GB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008918/0.6415, allocations: 95.31 kB / 0.5618 GB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/0.6445, allocations: 0.8589 MB / 0.5627 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.6445, allocations: 12 kB / 0.5627 GB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.6446, allocations: 20 kB / 0.5627 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006086/0.6452, allocations: 265.5 kB / 0.563 GB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/0.646, allocations: 410.7 kB / 0.5634 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.646, allocations: 0 / 0.5634 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.6461, allocations: 3.953 kB / 0.5634 GB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-05/0.6461, allocations: 24.77 kB / 0.5634 GB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.6487, allocations: 1.617 MB / 0.565 GB, free: 420 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.649, allocations: 141.4 kB / 0.5651 GB, free: 296 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.6492, allocations: 105.1 kB / 0.5652 GB, free: 216 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.6493, allocations: 0 / 0.5652 GB, free: 216 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.6493, allocations: 37.75 kB / 0.5652 GB, free: 172 kB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.6493, allocations: 0 / 0.5652 GB, free: 172 kB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001448/0.6508, allocations: 0.6486 MB / 0.5659 GB, free: 15.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.6508, allocations: 85.09 kB / 0.5659 GB, free: 15.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.6512, allocations: 242 kB / 0.5662 GB, free: 15.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.6512, allocations: 29.64 kB / 0.5662 GB, free: 15.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.6514, allocations: 306 kB / 0.5665 GB, free: 14.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.432e-05/0.6515, allocations: 61.22 kB / 0.5666 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.6516, allocations: 0 / 0.5666 GB, free: 14.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6517, allocations: 329.6 kB / 0.5669 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.6519, allocations: 77.83 kB / 0.5669 GB, free: 14.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.6522, allocations: 190.8 kB / 0.5671 GB, free: 14.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.6525, allocations: 122.9 kB / 0.5672 GB, free: 14.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6525, allocations: 4 kB / 0.5672 GB, free: 14.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001201/0.6537, allocations: 389.9 kB / 0.5676 GB, free: 13.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.6538, allocations: 11.95 kB / 0.5676 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008508/0.6546, allocations: 269 kB / 0.5679 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007115/0.6554, allocations: 127.3 kB / 0.568 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.6557, allocations: 50.73 kB / 0.5681 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/0.6591, allocations: 2.032 MB / 0.57 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.6595, allocations: 8 kB / 0.57 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.6595, allocations: 16.05 kB / 0.5701 GB, free: 11.67 MB / 378.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 () * 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.000131/0.6597, allocations: 120.8 kB / 0.5702 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000542/0.6602, allocations: 218.6 kB / 0.5704 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.6603, allocations: 27.62 kB / 0.5704 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.6609, allocations: 221.7 kB / 0.5706 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6609, allocations: 4.031 kB / 0.5706 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.6609, allocations: 11.94 kB / 0.5706 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.661, allocations: 0 / 0.5706 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.6625, allocations: 0.6351 MB / 0.5713 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6625, allocations: 0 / 0.5713 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/0.6629, allocations: 51.92 kB / 0.5713 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.6631, allocations: 27.53 kB / 0.5713 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.6631, allocations: 7.938 kB / 0.5713 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.6647, allocations: 1.429 MB / 0.5727 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6647, allocations: 0 / 0.5727 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007443/0.6654, allocations: 442.8 kB / 0.5732 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.6656, allocations: 99.27 kB / 0.5733 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.6656, allocations: 4 kB / 0.5733 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.6659, allocations: 8.031 kB / 0.5733 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.666, allocations: 26.38 kB / 0.5733 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.666, allocations: 4 kB / 0.5733 GB, free: 8.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000247/0.6662, allocations: 193.4 kB / 0.5735 GB, free: 8.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6663, allocations: 0 / 0.5735 GB, free: 8.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000721/0.667, allocations: 91.73 kB / 0.5736 GB, free: 8.227 MB / 378.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 () * 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.001214/0.6682, allocations: 1.186 MB / 0.5747 GB, free: 7.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.6692, allocations: 353 kB / 0.5751 GB, free: 6.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6693, allocations: 4.062 kB / 0.5751 GB, free: 6.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.6697, allocations: 222.1 kB / 0.5753 GB, free: 6.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.6703, allocations: 54.72 kB / 0.5753 GB, free: 6.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.6724, allocations: 0.7843 MB / 0.5761 GB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.673, allocations: 0.8448 MB / 0.5769 GB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.6733, allocations: 126.6 kB / 0.577 GB, free: 4.871 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.6733, allocations: 7.875 kB / 0.5771 GB, free: 4.863 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.792/3.465, allocations: 7.442 MB / 0.5843 GB, free: 13.5 MB / 394.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)