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.002189/0.002193, allocations: 185.7 kB / 13.19 MB, free: 2.125 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.953/1.953, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001102/0.001102, allocations: 93.89 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2669/0.2669, allocations: 37.96 MB / 353.1 MB, free: 3.078 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.557e-05, allocations: 4 kB / 416.9 MB, free: 41.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 56.32 MB / 473.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4937/0.6023, allocations: 96.49 MB / 0.5563 GB, free: 7.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.6027, allocations: 91.94 kB / 0.5564 GB, free: 7.113 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05577/0.6585, allocations: 12.52 MB / 0.5687 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6585, allocations: 0 / 0.5687 GB, free: 10.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.953e-05/0.6586, allocations: 8 kB / 0.5687 GB, free: 10.44 MB / 410.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.001312/0.6599, allocations: 0.6171 MB / 0.5693 GB, free: 9.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.66, allocations: 19.95 kB / 0.5693 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.6601, allocations: 74.48 kB / 0.5694 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000964/0.6611, allocations: 95.36 kB / 0.5695 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/0.6646, allocations: 0.8487 MB / 0.5703 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.6647, allocations: 20.78 kB / 0.5703 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.6648, allocations: 43.97 kB / 0.5703 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.666, allocations: 454.3 kB / 0.5708 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.666, allocations: 0 / 0.5708 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.603e-05/0.6661, allocations: 12 kB / 0.5708 GB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/0.6661, allocations: 28.73 kB / 0.5708 GB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008693/0.667, allocations: 326.9 kB / 0.5711 GB, free: 7.797 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/0.6705, allocations: 1.709 MB / 0.5728 GB, free: 5.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.671, allocations: 149.1 kB / 0.5729 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.6713, allocations: 101.7 kB / 0.573 GB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.6713, allocations: 8 kB / 0.573 GB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.6713, allocations: 30.56 kB / 0.5731 GB, free: 5.652 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/0.6713, allocations: 0 / 0.5731 GB, free: 5.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.00183/0.6732, allocations: 0.6919 MB / 0.5737 GB, free: 4.906 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.6733, allocations: 81.11 kB / 0.5738 GB, free: 4.809 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/0.6738, allocations: 270.7 kB / 0.5741 GB, free: 4.539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.6738, allocations: 25.7 kB / 0.5741 GB, free: 4.508 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.674, allocations: 305.8 kB / 0.5744 GB, free: 4.203 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.498e-05/0.6741, allocations: 67.09 kB / 0.5745 GB, free: 4.137 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.6742, allocations: 8 kB / 0.5745 GB, free: 4.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6743, allocations: 330.8 kB / 0.5748 GB, free: 3.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.6746, allocations: 80.27 kB / 0.5749 GB, free: 3.715 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.6749, allocations: 193.3 kB / 0.575 GB, free: 3.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.6753, allocations: 132.5 kB / 0.5752 GB, free: 3.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6753, allocations: 0 / 0.5752 GB, free: 3.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001416/0.6767, allocations: 436.5 kB / 0.5756 GB, free: 2.918 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.6768, allocations: 4 kB / 0.5756 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009801/0.6778, allocations: 285 kB / 0.5759 GB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007871/0.6786, allocations: 132.7 kB / 0.576 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.679, allocations: 51.91 kB / 0.576 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004891/0.6839, allocations: 2.147 MB / 0.5781 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.6845, allocations: 19.91 kB / 0.5782 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.6846, allocations: 12 kB / 0.5782 GB, free: 140 kB / 410.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.0001561/0.6847, allocations: 130.7 kB / 0.5783 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.6848, allocations: 23.89 kB / 0.5783 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007311/0.6856, allocations: 257.8 kB / 0.5786 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.6856, allocations: 0 / 0.5786 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.6856, allocations: 0 / 0.5786 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6856, allocations: 7.781 kB / 0.5786 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.6874, allocations: 0.7128 MB / 0.5793 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6875, allocations: 0 / 0.5793 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.6879, allocations: 47.86 kB / 0.5793 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001633/0.688, allocations: 24.84 kB / 0.5793 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.6881, allocations: 8 kB / 0.5793 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.6898, allocations: 1.486 MB / 0.5808 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6899, allocations: 0 / 0.5808 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.6908, allocations: 454.4 kB / 0.5812 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.6909, allocations: 112.8 kB / 0.5813 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.691, allocations: 4 kB / 0.5813 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.6913, allocations: 15.94 kB / 0.5814 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.6913, allocations: 11.98 kB / 0.5814 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.6914, allocations: 8 kB / 0.5814 GB, free: 12.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000345/0.6917, allocations: 210.2 kB / 0.5816 GB, free: 12.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6917, allocations: 0 / 0.5816 GB, free: 12.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006923/0.6924, allocations: 99.98 kB / 0.5817 GB, free: 12.27 MB / 426.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.001442/0.6939, allocations: 1.216 MB / 0.5829 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.695, allocations: 382.4 kB / 0.5832 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.695, allocations: 4 kB / 0.5832 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.6955, allocations: 235.1 kB / 0.5834 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.6961, allocations: 65.16 kB / 0.5835 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.6983, allocations: 0.8108 MB / 0.5843 GB, free: 9.445 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.6989, allocations: 0.8539 MB / 0.5851 GB, free: 8.566 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.6992, allocations: 127.3 kB / 0.5853 GB, free: 8.441 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6992, allocations: 0 / 0.5853 GB, free: 8.441 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.701/3.4, allocations: 7.542 MB / 0.5926 GB, free: 0.8867 MB / 426.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)