Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 112 kB / 17.06 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 193.4 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1782/0.1782, allocations: 38.03 MB / 329.9 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002958/0.002958, allocations: 59.91 kB / 457.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3247, allocations: 58.07 MB / 0.5036 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004827/0.3296, allocations: 4.58 MB / 0.5081 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.3313, allocations: 1.32 MB / 0.5094 GB, free: 3.441 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.3315, allocations: 16.62 kB / 0.5094 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009936/0.3325, allocations: 397.4 kB / 0.5098 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.3329, allocations: 250.2 kB / 0.51 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.3333, allocations: 167.2 kB / 0.5102 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005375/0.3339, allocations: 0.5669 MB / 0.5107 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.3343, allocations: 283.8 kB / 0.511 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.3346, allocations: 252 kB / 0.5112 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.335, allocations: 283 kB / 0.5115 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.3351, allocations: 30.84 kB / 0.5115 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.3353, allocations: 130.4 kB / 0.5117 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.3355, allocations: 182.4 kB / 0.5118 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.3357, allocations: 225.5 kB / 0.512 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005859/0.3363, allocations: 0.5082 MB / 0.5125 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3363, allocations: 5.094 kB / 0.5126 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3363, allocations: 0 / 0.5126 GB, free: 1.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3363, allocations: 0 / 0.5126 GB, free: 1.977 MB / 382.1 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.000997/0.3374, allocations: 0.7089 MB / 0.5132 GB, free: 1.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3374, allocations: 12.42 kB / 0.5133 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.303e-05/0.3375, allocations: 82.33 kB / 0.5133 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000546/0.338, allocations: 86.92 kB / 0.5134 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.3386, allocations: 418.4 kB / 0.5138 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.3386, allocations: 23.72 kB / 0.5138 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.3388, allocations: 54.95 kB / 0.5139 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.3394, allocations: 472.1 kB / 0.5143 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3395, allocations: 1.094 kB / 0.5143 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.3395, allocations: 15.22 kB / 0.5144 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.3396, allocations: 25.56 kB / 0.5144 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.3401, allocations: 338.9 kB / 0.5147 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.3423, allocations: 1.703 MB / 0.5164 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.3427, allocations: 151.2 kB / 0.5165 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.3429, allocations: 106.8 kB / 0.5166 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.3429, allocations: 3.125 kB / 0.5166 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.343, allocations: 40.61 kB / 0.5167 GB, free: 15.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.343, allocations: 3.938 kB / 0.5167 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001768/0.3448, allocations: 0.8546 MB / 0.5175 GB, free: 14.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.3449, allocations: 83.86 kB / 0.5176 GB, free: 14.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.3452, allocations: 314.5 kB / 0.5179 GB, free: 14.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.3453, allocations: 35.02 kB / 0.5179 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.3455, allocations: 248.8 kB / 0.5181 GB, free: 14.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.486e-05/0.3455, allocations: 69.97 kB / 0.5182 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.3456, allocations: 58.81 kB / 0.5183 GB, free: 13.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3458, allocations: 347.1 kB / 0.5186 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.346, allocations: 98.23 kB / 0.5187 GB, free: 13.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.3462, allocations: 185.2 kB / 0.5189 GB, free: 13.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.3467, allocations: 312 kB / 0.5192 GB, free: 13.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3467, allocations: 1.281 kB / 0.5192 GB, free: 13.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009045/0.3476, allocations: 464.7 kB / 0.5196 GB, free: 13.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3476, allocations: 6.328 kB / 0.5196 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006113/0.3482, allocations: 294.2 kB / 0.5199 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/0.3488, allocations: 126.5 kB / 0.52 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.349, allocations: 53.12 kB / 0.5201 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/0.3521, allocations: 2.388 MB / 0.5224 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.3524, allocations: 24.69 kB / 0.5224 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.3524, allocations: 9.656 kB / 0.5224 GB, free: 11.02 MB / 398.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003198/0.3527, allocations: 189.3 kB / 0.5226 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.3528, allocations: 32.78 kB / 0.5226 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.3533, allocations: 244.8 kB / 0.5229 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3533, allocations: 6.688 kB / 0.5229 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.3533, allocations: 0 / 0.5229 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-06/0.3533, allocations: 2.969 kB / 0.5229 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.3545, allocations: 0.7204 MB / 0.5236 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3545, allocations: 0 / 0.5236 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.3547, allocations: 40.25 kB / 0.5236 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.3548, allocations: 29.66 kB / 0.5237 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.3549, allocations: 16.2 kB / 0.5237 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.3563, allocations: 1.587 MB / 0.5252 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3563, allocations: 0.6562 kB / 0.5252 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/0.3569, allocations: 423.3 kB / 0.5256 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/0.357, allocations: 110 kB / 0.5257 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.357, allocations: 9.219 kB / 0.5257 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.3572, allocations: 13.56 kB / 0.5258 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.3572, allocations: 14.08 kB / 0.5258 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3572, allocations: 8.875 kB / 0.5258 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002513/0.3575, allocations: 215.4 kB / 0.526 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3575, allocations: 0 / 0.526 GB, free: 8.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.358, allocations: 92.56 kB / 0.5261 GB, free: 8.184 MB / 398.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009075/0.3589, allocations: 0.9614 MB / 0.527 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007375/0.3597, allocations: 395.2 kB / 0.5274 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3597, allocations: 0 / 0.5274 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.3601, allocations: 234 kB / 0.5276 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.3605, allocations: 56.73 kB / 0.5277 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.3655, allocations: 3.511 MB / 0.5311 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.3661, allocations: 0.8443 MB / 0.5319 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.3663, allocations: 60.55 kB / 0.532 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.3665, allocations: 130.5 kB / 0.5321 GB, free: 3.836 MB / 398.1 MB Notification: Performance of SimCode: time 3.096e-06/0.3665, allocations: 1.406 kB / 0.5321 GB, free: 3.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.4034, allocations: 7.475 MB / 0.5394 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.49, allocations: 5.781 kB / 0.5394 GB, free: 0.793 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)