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.001795/0.001795, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00154/0.00154, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.1871/0.1871, allocations: 38.52 MB / 353.2 MB, free: 12.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="cs",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.002021/0.002021, allocations: 67.89 kB / 493.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3143, allocations: 62.47 MB / 0.5428 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006497/0.3208, allocations: 4.754 MB / 0.5474 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.324, allocations: 1.373 MB / 0.5488 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.3244, allocations: 16.81 kB / 0.5488 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.3258, allocations: 418.4 kB / 0.5492 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007058/0.3265, allocations: 251.6 kB / 0.5494 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.327, allocations: 171.5 kB / 0.5496 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007527/0.3278, allocations: 0.5627 MB / 0.5501 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.3282, allocations: 242.2 kB / 0.5504 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005986/0.3288, allocations: 270.1 kB / 0.5506 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005629/0.3294, allocations: 294.1 kB / 0.5509 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.3295, allocations: 29.84 kB / 0.5509 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.3298, allocations: 140.2 kB / 0.5511 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.33, allocations: 183.9 kB / 0.5512 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.3302, allocations: 231.4 kB / 0.5514 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006696/0.3309, allocations: 0.5076 MB / 0.5519 GB, free: 9.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3309, allocations: 1.125 kB / 0.5519 GB, free: 9.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3309, allocations: 0 / 0.5519 GB, free: 9.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3309, allocations: 0 / 0.5519 GB, free: 9.5 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.001196/0.3321, allocations: 0.6355 MB / 0.5526 GB, free: 8.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3321, allocations: 14.11 kB / 0.5526 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.92e-05/0.3322, allocations: 17.16 kB / 0.5526 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.965e-05/0.3323, allocations: 75.94 kB / 0.5527 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005943/0.3328, allocations: 88.98 kB / 0.5528 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.3336, allocations: 346.4 kB / 0.5531 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.3336, allocations: 30.92 kB / 0.5531 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.3337, allocations: 44.42 kB / 0.5532 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007289/0.3345, allocations: 471.6 kB / 0.5536 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.3345, allocations: 1.438 kB / 0.5536 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.3345, allocations: 18.95 kB / 0.5536 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.3346, allocations: 25.3 kB / 0.5536 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005543/0.3352, allocations: 341 kB / 0.554 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.3376, allocations: 1.638 MB / 0.5556 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.3379, allocations: 143.3 kB / 0.5557 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.338, allocations: 99.23 kB / 0.5558 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.338, allocations: 1.125 kB / 0.5558 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3381, allocations: 45.11 kB / 0.5558 GB, free: 6.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.3381, allocations: 0 / 0.5558 GB, free: 6.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001466/0.3395, allocations: 0.7088 MB / 0.5565 GB, free: 5.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.3396, allocations: 87.36 kB / 0.5566 GB, free: 5.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.3399, allocations: 312.2 kB / 0.5569 GB, free: 5.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.34, allocations: 29.64 kB / 0.5569 GB, free: 5.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.3402, allocations: 253.3 kB / 0.5572 GB, free: 5.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.3402, allocations: 71.8 kB / 0.5573 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3403, allocations: 55.64 kB / 0.5573 GB, free: 5.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3405, allocations: 350.7 kB / 0.5576 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.3407, allocations: 84.23 kB / 0.5577 GB, free: 4.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.3409, allocations: 197.3 kB / 0.5579 GB, free: 4.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.3413, allocations: 320.5 kB / 0.5582 GB, free: 4.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3413, allocations: 0 / 0.5582 GB, free: 4.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008936/0.3422, allocations: 447.5 kB / 0.5586 GB, free: 3.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3422, allocations: 8 kB / 0.5587 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006042/0.3429, allocations: 289.2 kB / 0.5589 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004733/0.3433, allocations: 120.8 kB / 0.559 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.3435, allocations: 63.84 kB / 0.5591 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.3465, allocations: 2.269 MB / 0.5613 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.3467, allocations: 15.92 kB / 0.5613 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.3467, allocations: 16 kB / 0.5614 GB, free: 0.9258 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.0002444/0.3469, allocations: 192.9 kB / 0.5615 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.347, allocations: 31.81 kB / 0.5616 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.3475, allocations: 252.5 kB / 0.5618 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3475, allocations: 3.938 kB / 0.5618 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.3475, allocations: 0 / 0.5618 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3475, allocations: 0 / 0.5618 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.3487, allocations: 0.6951 MB / 0.5625 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3487, allocations: 0 / 0.5625 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.3489, allocations: 39.97 kB / 0.5625 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.349, allocations: 24.84 kB / 0.5626 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.349, allocations: 8 kB / 0.5626 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.3504, allocations: 1.493 MB / 0.564 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3504, allocations: 0 / 0.564 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.351, allocations: 425.5 kB / 0.5644 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.3511, allocations: 27.75 kB / 0.5645 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.3511, allocations: 8 kB / 0.5645 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.3513, allocations: 8.031 kB / 0.5645 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.3513, allocations: 19.86 kB / 0.5645 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3513, allocations: 7.984 kB / 0.5645 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002304/0.3515, allocations: 215.1 kB / 0.5647 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3515, allocations: 0 / 0.5647 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004793/0.352, allocations: 88 kB / 0.5648 GB, free: 13.2 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.0008946/0.3529, allocations: 0.9654 MB / 0.5657 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007389/0.3537, allocations: 390.2 kB / 0.5661 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3537, allocations: 0.875 kB / 0.5661 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.354, allocations: 223.4 kB / 0.5663 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.3545, allocations: 72.45 kB / 0.5664 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.3593, allocations: 3.516 MB / 0.5698 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.3598, allocations: 0.8457 MB / 0.5706 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.36, allocations: 58.92 kB / 0.5707 GB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.3602, allocations: 127.4 kB / 0.5708 GB, free: 6.73 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3602, allocations: 0 / 0.5708 GB, free: 6.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.3944, allocations: 7.813 MB / 0.5784 GB, free: 15.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.68, allocations: 0 / 0.5784 GB, free: 15.07 MB / 430.1 MB " [Timeout remaining time 646] (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.63167719100602] Failed to read output from testmodel.py, exit status != 0: 13.867133752966765 13.884066281 13.549772909 Calling exit ...