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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002336/0.002336, allocations: 211.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1916/0.1916, allocations: 38.55 MB / 352.5 MB, free: 12.4 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 59.91 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3006, allocations: 62.47 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.008515/0.3091, allocations: 4.489 MB / 0.5463 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003502/0.3126, allocations: 1.274 MB / 0.5476 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000325/0.313, allocations: 17.16 kB / 0.5476 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.3145, allocations: 383.2 kB / 0.548 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009005/0.3154, allocations: 260.1 kB / 0.5482 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006893/0.3161, allocations: 163.8 kB / 0.5484 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.3171, allocations: 0.5703 MB / 0.5489 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005914/0.3177, allocations: 226.6 kB / 0.5491 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006612/0.3184, allocations: 280.4 kB / 0.5494 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006582/0.319, allocations: 278 kB / 0.5497 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.894e-05/0.3191, allocations: 30.78 kB / 0.5497 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004158/0.3195, allocations: 130.9 kB / 0.5498 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.3198, allocations: 188.4 kB / 0.55 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003081/0.3201, allocations: 184.3 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.3211, allocations: 0.5165 MB / 0.5507 GB, free: 9.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3211, allocations: 0 / 0.5507 GB, free: 9.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3211, allocations: 0 / 0.5507 GB, free: 9.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.3212, allocations: 4 kB / 0.5507 GB, free: 9.789 MB / 398.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.001717/0.3229, allocations: 0.6293 MB / 0.5513 GB, free: 9.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.3229, allocations: 13.7 kB / 0.5513 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.3231, allocations: 76.19 kB / 0.5514 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008883/0.3239, allocations: 88.55 kB / 0.5515 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.3251, allocations: 347.1 kB / 0.5518 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/0.3252, allocations: 23.56 kB / 0.5518 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.3254, allocations: 60.59 kB / 0.5519 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.3267, allocations: 468.6 kB / 0.5523 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.3267, allocations: 1.125 kB / 0.5523 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.3268, allocations: 19.31 kB / 0.5523 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.3269, allocations: 24.8 kB / 0.5524 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.328, allocations: 337 kB / 0.5527 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004225/0.3322, allocations: 1.463 MB / 0.5541 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.3327, allocations: 144.1 kB / 0.5543 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.333, allocations: 103.1 kB / 0.5544 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.333, allocations: 2.375 kB / 0.5544 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.3331, allocations: 32.66 kB / 0.5544 GB, free: 6.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 3.236e-06/0.3331, allocations: 0 / 0.5544 GB, free: 6.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.002747/0.3358, allocations: 0.7205 MB / 0.5551 GB, free: 6.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/0.3359, allocations: 79.89 kB / 0.5552 GB, free: 6.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.3365, allocations: 309.1 kB / 0.5555 GB, free: 6.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.3365, allocations: 29.7 kB / 0.5555 GB, free: 6.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.3368, allocations: 256 kB / 0.5557 GB, free: 5.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.3369, allocations: 67.45 kB / 0.5558 GB, free: 5.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.3371, allocations: 61.94 kB / 0.5559 GB, free: 5.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003498/0.3375, allocations: 346.9 kB / 0.5562 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.3378, allocations: 100.2 kB / 0.5563 GB, free: 5.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.3382, allocations: 193.3 kB / 0.5565 GB, free: 5.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.3389, allocations: 314.1 kB / 0.5568 GB, free: 4.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.3389, allocations: 4 kB / 0.5568 GB, free: 4.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001637/0.3405, allocations: 461.9 kB / 0.5572 GB, free: 4.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.3406, allocations: 4 kB / 0.5572 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001088/0.3417, allocations: 284.8 kB / 0.5575 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000862/0.3425, allocations: 128.9 kB / 0.5576 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.3429, allocations: 55.91 kB / 0.5577 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005014/0.3479, allocations: 2.253 MB / 0.5599 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.3483, allocations: 19.92 kB / 0.5599 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.3484, allocations: 12 kB / 0.5599 GB, free: 1.352 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.0004256/0.3488, allocations: 196 kB / 0.5601 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3489, allocations: 27.81 kB / 0.5601 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007664/0.3496, allocations: 257.2 kB / 0.5604 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.3497, allocations: 11.92 kB / 0.5604 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3497, allocations: 0 / 0.5604 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3497, allocations: 0 / 0.5604 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.3517, allocations: 0.66 MB / 0.561 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.3517, allocations: 4.062 kB / 0.561 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.3521, allocations: 47.97 kB / 0.5611 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/0.3523, allocations: 28.84 kB / 0.5611 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.3524, allocations: 8 kB / 0.5611 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.3547, allocations: 1.485 MB / 0.5625 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.988e-06/0.3547, allocations: 4.031 kB / 0.5625 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3558, allocations: 421.4 kB / 0.5629 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.3559, allocations: 31.75 kB / 0.563 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-05/0.356, allocations: 8.031 kB / 0.563 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.3562, allocations: 8 kB / 0.563 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.3563, allocations: 11.97 kB / 0.563 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.3563, allocations: 4 kB / 0.563 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004407/0.3568, allocations: 219.1 kB / 0.5632 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3568, allocations: 0 / 0.5632 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000945/0.3577, allocations: 88.06 kB / 0.5633 GB, free: 13.64 MB / 414.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.001509/0.3592, allocations: 0.9609 MB / 0.5642 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.3605, allocations: 394.6 kB / 0.5646 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3605, allocations: 0 / 0.5646 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00062/0.3611, allocations: 227.3 kB / 0.5648 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000841/0.3619, allocations: 69.61 kB / 0.5649 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008549/0.3705, allocations: 3.507 MB / 0.5683 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.371, allocations: 237.1 kB / 0.5685 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003671/0.3713, allocations: 58.92 kB / 0.5686 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.3716, allocations: 123.4 kB / 0.5687 GB, free: 7.801 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3716, allocations: 0 / 0.5687 GB, free: 7.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05852/0.4301, allocations: 8.058 MB / 0.5766 GB, free: 15.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.25, allocations: 18.36 kB / 0.5766 GB, free: 15.9 MB / 430.1 MB " [Timeout remaining time 647] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.082983002997935] Failed to read output from testmodel.py, exit status != 0: 13.37723937118426 13.408867433 13.081933915 Calling exit ...