Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",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.001278/0.001278, allocations: 110.9 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.001189/0.001189, allocations: 196 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.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1823/0.1823, allocations: 38.04 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 63.91 kB / 457.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3014, allocations: 58.05 MB / 0.5036 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005394/0.3069, allocations: 4.565 MB / 0.5081 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3089, allocations: 1.308 MB / 0.5094 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.3091, allocations: 13.66 kB / 0.5094 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.3103, allocations: 401.2 kB / 0.5098 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005376/0.3109, allocations: 255.3 kB / 0.51 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.3113, allocations: 168.2 kB / 0.5102 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005766/0.3119, allocations: 0.5599 MB / 0.5107 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.3123, allocations: 283.8 kB / 0.511 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004104/0.3128, allocations: 252.2 kB / 0.5112 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005476/0.3133, allocations: 280.2 kB / 0.5115 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.382e-05/0.3134, allocations: 30.47 kB / 0.5115 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.3137, allocations: 126.5 kB / 0.5116 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.314, allocations: 197.7 kB / 0.5118 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.3142, allocations: 212.9 kB / 0.512 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006516/0.3148, allocations: 0.5187 MB / 0.5125 GB, free: 1.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3148, allocations: 4 kB / 0.5125 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3149, allocations: 0 / 0.5125 GB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3149, allocations: 1.156 kB / 0.5125 GB, free: 1.91 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.001035/0.3159, allocations: 0.7051 MB / 0.5132 GB, free: 1.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.316, allocations: 12.52 kB / 0.5132 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.228e-05/0.316, allocations: 86.77 kB / 0.5133 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000543/0.3166, allocations: 87.55 kB / 0.5134 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.3172, allocations: 419 kB / 0.5138 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.3172, allocations: 22.56 kB / 0.5138 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.3173, allocations: 50.72 kB / 0.5139 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.318, allocations: 481.9 kB / 0.5143 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.318, allocations: 1.75 kB / 0.5143 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.3181, allocations: 11.56 kB / 0.5143 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.3182, allocations: 32.73 kB / 0.5144 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.3187, allocations: 348.6 kB / 0.5147 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.3208, allocations: 1.725 MB / 0.5164 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.3211, allocations: 154.3 kB / 0.5165 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.3213, allocations: 118.8 kB / 0.5166 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.3214, allocations: 1.75 kB / 0.5167 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3214, allocations: 36.88 kB / 0.5167 GB, free: 15.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.3214, allocations: 0.6562 kB / 0.5167 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001655/0.3231, allocations: 0.894 MB / 0.5176 GB, free: 14.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.3232, allocations: 84.3 kB / 0.5176 GB, free: 14.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.3235, allocations: 310.3 kB / 0.5179 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.3236, allocations: 30.55 kB / 0.518 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.3238, allocations: 262.2 kB / 0.5182 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.3238, allocations: 63.05 kB / 0.5183 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.324, allocations: 61.92 kB / 0.5183 GB, free: 13.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3241, allocations: 343.8 kB / 0.5187 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3243, allocations: 98.23 kB / 0.5188 GB, free: 13.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.3246, allocations: 203.1 kB / 0.519 GB, free: 13.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/0.325, allocations: 327.6 kB / 0.5193 GB, free: 13.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.325, allocations: 1.125 kB / 0.5193 GB, free: 13.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000911/0.326, allocations: 476.3 kB / 0.5197 GB, free: 12.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.326, allocations: 5.781 kB / 0.5197 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006202/0.3266, allocations: 318.5 kB / 0.52 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004868/0.3271, allocations: 142.1 kB / 0.5202 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.3273, allocations: 60.73 kB / 0.5202 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.3304, allocations: 2.445 MB / 0.5226 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.3307, allocations: 16.34 kB / 0.5226 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.3307, allocations: 14.78 kB / 0.5226 GB, free: 10.88 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.0002677/0.331, allocations: 185 kB / 0.5228 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.331, allocations: 33.83 kB / 0.5228 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000477/0.3315, allocations: 267.2 kB / 0.5231 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3315, allocations: 1.375 kB / 0.5231 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3315, allocations: 2.078 kB / 0.5231 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3316, allocations: 2.125 kB / 0.5231 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.3328, allocations: 0.7414 MB / 0.5238 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3328, allocations: 1.875 kB / 0.5238 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.333, allocations: 39.38 kB / 0.5239 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.3332, allocations: 38.17 kB / 0.5239 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.3332, allocations: 7.828 kB / 0.5239 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3332, allocations: 5.734 kB / 0.5239 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3332, allocations: 2.156 kB / 0.5239 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005911/0.3338, allocations: 444.2 kB / 0.5243 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.116e-05/0.3339, allocations: 106.6 kB / 0.5244 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.334, allocations: 8.297 kB / 0.5245 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.3341, allocations: 6.828 kB / 0.5245 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.3342, allocations: 22.09 kB / 0.5245 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3342, allocations: 5.344 kB / 0.5245 GB, free: 9.672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.3344, allocations: 219.3 kB / 0.5247 GB, free: 9.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3344, allocations: 4 kB / 0.5247 GB, free: 9.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004788/0.3349, allocations: 85.41 kB / 0.5248 GB, free: 9.543 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008938/0.3358, allocations: 0.9777 MB / 0.5257 GB, free: 8.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007576/0.3366, allocations: 409.9 kB / 0.5261 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3366, allocations: 5.625 kB / 0.5261 GB, free: 8.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.3368, allocations: 179.1 kB / 0.5263 GB, free: 8.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.3373, allocations: 57.62 kB / 0.5264 GB, free: 8.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004864/0.3422, allocations: 3.584 MB / 0.5299 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.3427, allocations: 0.8364 MB / 0.5307 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.3429, allocations: 63.17 kB / 0.5307 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.3431, allocations: 127.3 kB / 0.5309 GB, free: 5.191 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3431, allocations: 0 / 0.5309 GB, free: 5.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08395/0.4271, allocations: 7.349 MB / 0.538 GB, free: 2.195 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.65, allocations: 9.078 kB / 0.538 GB, free: 2.191 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)