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.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.001731/0.001731, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.00142/0.00142, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1891/0.1891, allocations: 38.55 MB / 352.5 MB, free: 12.33 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.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"}) [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.002265/0.002265, allocations: 63.91 kB / 492.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2991, allocations: 62.47 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006332/0.3054, allocations: 4.47 MB / 0.5463 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.3077, allocations: 1.264 MB / 0.5475 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.3079, allocations: 21.25 kB / 0.5476 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.309, allocations: 383 kB / 0.5479 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.3096, allocations: 258.2 kB / 0.5482 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.31, allocations: 168 kB / 0.5483 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006196/0.3107, allocations: 0.5631 MB / 0.5489 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.3111, allocations: 242.6 kB / 0.5491 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.3115, allocations: 268.1 kB / 0.5494 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.3119, allocations: 299.6 kB / 0.5497 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.312, allocations: 30.84 kB / 0.5497 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.3122, allocations: 131 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.3124, allocations: 195.6 kB / 0.55 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.3126, allocations: 180.6 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.3133, allocations: 0.5287 MB / 0.5507 GB, free: 9.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3133, allocations: 1.438 kB / 0.5507 GB, free: 9.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3133, allocations: 0 / 0.5507 GB, free: 9.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3133, allocations: 0 / 0.5507 GB, free: 9.785 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.001137/0.3144, allocations: 0.6266 MB / 0.5513 GB, free: 9.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3144, allocations: 12.95 kB / 0.5513 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.3146, allocations: 77.45 kB / 0.5514 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005565/0.3151, allocations: 95.92 kB / 0.5515 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.3159, allocations: 348.5 kB / 0.5518 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.3159, allocations: 26.66 kB / 0.5518 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.316, allocations: 47.77 kB / 0.5519 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007288/0.3168, allocations: 477 kB / 0.5523 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3168, allocations: 1.094 kB / 0.5523 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.3168, allocations: 15.25 kB / 0.5524 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.3169, allocations: 24.95 kB / 0.5524 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005518/0.3175, allocations: 348.2 kB / 0.5527 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.3198, allocations: 1.49 MB / 0.5542 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.3201, allocations: 144.2 kB / 0.5543 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.3203, allocations: 105.4 kB / 0.5544 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3203, allocations: 6.719 kB / 0.5544 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.3203, allocations: 41.14 kB / 0.5544 GB, free: 6.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3203, allocations: 0 / 0.5544 GB, free: 6.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001476/0.3218, allocations: 0.7425 MB / 0.5552 GB, free: 6.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.3218, allocations: 80.14 kB / 0.5552 GB, free: 6.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.3222, allocations: 319.8 kB / 0.5556 GB, free: 6.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.3222, allocations: 29.7 kB / 0.5556 GB, free: 6.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.3224, allocations: 260.1 kB / 0.5558 GB, free: 5.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/0.3225, allocations: 63.47 kB / 0.5559 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3226, allocations: 65.92 kB / 0.556 GB, free: 5.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3228, allocations: 342.8 kB / 0.5563 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.3229, allocations: 104.2 kB / 0.5564 GB, free: 5.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.3232, allocations: 197.4 kB / 0.5566 GB, free: 4.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.3236, allocations: 330.2 kB / 0.5569 GB, free: 4.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3237, allocations: 0 / 0.5569 GB, free: 4.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009207/0.3246, allocations: 471.6 kB / 0.5573 GB, free: 4.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3246, allocations: 10.81 kB / 0.5573 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006122/0.3252, allocations: 309.1 kB / 0.5576 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00048/0.3257, allocations: 136.7 kB / 0.5578 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.3259, allocations: 55.91 kB / 0.5578 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.3289, allocations: 2.311 MB / 0.5601 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.3291, allocations: 15.98 kB / 0.5601 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.3291, allocations: 16 kB / 0.5601 GB, free: 1.152 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.0002312/0.3294, allocations: 192.7 kB / 0.5603 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.3294, allocations: 35.8 kB / 0.5603 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.3299, allocations: 269.2 kB / 0.5606 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3299, allocations: 4 kB / 0.5606 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3299, allocations: 0 / 0.5606 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3299, allocations: 3.938 kB / 0.5606 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.3311, allocations: 0.6834 MB / 0.5613 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3311, allocations: 4.062 kB / 0.5613 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.3314, allocations: 39.97 kB / 0.5613 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.3315, allocations: 36.83 kB / 0.5613 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.3315, allocations: 8.062 kB / 0.5613 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3315, allocations: 4 kB / 0.5613 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3315, allocations: 4 kB / 0.5614 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.3321, allocations: 443.1 kB / 0.5618 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.3321, allocations: 31.81 kB / 0.5618 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.3322, allocations: 4 kB / 0.5618 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.3323, allocations: 16.03 kB / 0.5618 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.3324, allocations: 19.84 kB / 0.5618 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3324, allocations: 4 kB / 0.5618 GB, free: 15.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.3326, allocations: 223.1 kB / 0.5621 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3326, allocations: 0 / 0.5621 GB, free: 15.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000482/0.3331, allocations: 87.98 kB / 0.5621 GB, free: 14.96 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): 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.0009019/0.334, allocations: 0.9693 MB / 0.5631 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000728/0.3347, allocations: 402.2 kB / 0.5635 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3347, allocations: 0 / 0.5635 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.3349, allocations: 96.88 kB / 0.5636 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.3354, allocations: 67.05 kB / 0.5636 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/0.3401, allocations: 3.574 MB / 0.5671 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3404, allocations: 241.1 kB / 0.5673 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.3406, allocations: 58.92 kB / 0.5674 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.3408, allocations: 127.4 kB / 0.5675 GB, free: 9.184 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3408, allocations: 0 / 0.5675 GB, free: 9.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0412/0.382, allocations: 8.018 MB / 0.5754 GB, free: 1.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.58, allocations: 15.92 kB / 0.5754 GB, free: 1.32 MB / 414.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.457766371022444] Failed to read output from testmodel.py, exit status != 0: 13.69976497598691 13.71537599 13.398782962 Calling exit ...