Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.001284/0.001284, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001528/0.001528, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1838/0.1838, allocations: 38.55 MB / 352.5 MB, free: 12.32 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.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",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.002078/0.002078, allocations: 66.55 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2949, allocations: 62.47 MB / 0.5419 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006791/0.3017, allocations: 4.319 MB / 0.5462 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.3046, allocations: 1.465 MB / 0.5476 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.3048, allocations: 20.91 kB / 0.5476 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009218/0.3057, allocations: 286.8 kB / 0.5479 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006318/0.3063, allocations: 284 kB / 0.5482 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.307, allocations: 250.7 kB / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006788/0.3077, allocations: 0.6065 MB / 0.549 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.3081, allocations: 198.4 kB / 0.5492 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.3085, allocations: 292.9 kB / 0.5495 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/0.309, allocations: 383.1 kB / 0.5498 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.3091, allocations: 38.94 kB / 0.5499 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.3095, allocations: 225 kB / 0.5501 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.3098, allocations: 240.2 kB / 0.5503 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.31, allocations: 211.1 kB / 0.5505 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007721/0.3108, allocations: 0.6879 MB / 0.5512 GB, free: 9.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3108, allocations: 4 kB / 0.5512 GB, free: 9.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3108, allocations: 1.125 kB / 0.5512 GB, free: 9.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.3108, allocations: 0 / 0.5512 GB, free: 9.523 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001395/0.3122, allocations: 0.7063 MB / 0.5519 GB, free: 8.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3122, allocations: 13.64 kB / 0.5519 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.3123, allocations: 84.17 kB / 0.552 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007598/0.3131, allocations: 128.5 kB / 0.5521 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007638/0.3139, allocations: 361.5 kB / 0.5524 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.3139, allocations: 35.3 kB / 0.5525 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.314, allocations: 44.95 kB / 0.5525 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3151, allocations: 0.693 MB / 0.5532 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.3151, allocations: 1.219 kB / 0.5532 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.3152, allocations: 19.3 kB / 0.5532 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/0.3154, allocations: 71.28 kB / 0.5533 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.3164, allocations: 0.6627 MB / 0.5539 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/0.3202, allocations: 2.49 MB / 0.5563 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.3207, allocations: 289.2 kB / 0.5566 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.3209, allocations: 193.7 kB / 0.5568 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.321, allocations: 4 kB / 0.5568 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.321, allocations: 38.5 kB / 0.5568 GB, free: 4.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/0.321, allocations: 0 / 0.5568 GB, free: 4.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002032/0.323, allocations: 1.233 MB / 0.5581 GB, free: 3.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.3231, allocations: 85.23 kB / 0.5581 GB, free: 3.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.3234, allocations: 304.3 kB / 0.5584 GB, free: 3.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.3234, allocations: 29.7 kB / 0.5585 GB, free: 3.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.3236, allocations: 252.2 kB / 0.5587 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.3237, allocations: 146.8 kB / 0.5588 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.3239, allocations: 90.06 kB / 0.5589 GB, free: 2.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.324, allocations: 346.7 kB / 0.5592 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.3243, allocations: 192.8 kB / 0.5594 GB, free: 1.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.3247, allocations: 325 kB / 0.5597 GB, free: 1.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.3254, allocations: 0.5507 MB / 0.5603 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3254, allocations: 4 kB / 0.5603 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001224/0.3267, allocations: 0.6782 MB / 0.5609 GB, free: 308 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3267, allocations: 8 kB / 0.561 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008628/0.3275, allocations: 483.5 kB / 0.5614 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004218/0.328, allocations: 117.6 kB / 0.5615 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.3283, allocations: 80.12 kB / 0.5616 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.3313, allocations: 3.051 MB / 0.5646 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.3315, allocations: 19.98 kB / 0.5646 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.3316, allocations: 20.12 kB / 0.5646 GB, free: 12.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002804/0.3319, allocations: 221.6 kB / 0.5648 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.332, allocations: 39.7 kB / 0.5649 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007424/0.3327, allocations: 468.7 kB / 0.5653 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.3327, allocations: 15.98 kB / 0.5653 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3327, allocations: 3.938 kB / 0.5653 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3327, allocations: 0 / 0.5653 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.3343, allocations: 0.9521 MB / 0.5663 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3343, allocations: 4 kB / 0.5663 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.3346, allocations: 67.89 kB / 0.5663 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.3346, allocations: 7.938 kB / 0.5663 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.3346, allocations: 8 kB / 0.5663 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.3346, allocations: 0 / 0.5663 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.3347, allocations: 7.938 kB / 0.5664 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.3357, allocations: 0.7442 MB / 0.5671 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.3359, allocations: 63.72 kB / 0.5671 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.336, allocations: 16.05 kB / 0.5672 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3362, allocations: 15.98 kB / 0.5672 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.3362, allocations: 27.89 kB / 0.5672 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.3362, allocations: 8 kB / 0.5672 GB, free: 9.539 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.3365, allocations: 207.1 kB / 0.5674 GB, free: 9.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3365, allocations: 3.938 kB / 0.5674 GB, free: 9.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005303/0.337, allocations: 107.9 kB / 0.5675 GB, free: 9.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001512/0.3385, allocations: 1.331 MB / 0.5688 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.3396, allocations: 0.6749 MB / 0.5695 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3396, allocations: 1.125 kB / 0.5695 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.3399, allocations: 199.8 kB / 0.5697 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.3404, allocations: 72.55 kB / 0.5697 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006041/0.3464, allocations: 4.403 MB / 0.574 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.3468, allocations: 274.2 kB / 0.5743 GB, free: 1.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.3471, allocations: 107.2 kB / 0.5744 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.3473, allocations: 143.4 kB / 0.5745 GB, free: 1.734 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3473, allocations: 0 / 0.5745 GB, free: 1.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04097/0.3883, allocations: 8.913 MB / 0.5832 GB, free: 8.996 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.2, allocations: 0 / 0.5832 GB, free: 8.996 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source_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_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.95984413428232] Failed to read output from testmodel.py, exit status != 0: 12.320507240016013 12.34372752 12.028447004 Calling exit ...