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.001157/0.001157, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001169/0.001169, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8913/0.8913, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2217/0.2217, allocations: 29.4 MB / 290.1 MB, free: 2.445 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.554e-05, allocations: 4.109 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004691/0.004717, allocations: 4.3 MB / 434.5 MB, free: 9.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.006677, allocations: 1.472 MB / 436 MB, free: 7.793 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.006881, allocations: 15.88 kB / 436 MB, free: 7.777 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006313/0.007512, allocations: 282.6 kB / 436.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00052/0.008032, allocations: 298.3 kB / 436.6 MB, free: 7.207 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.0086, allocations: 259.2 kB / 436.8 MB, free: 6.953 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005183/0.009119, allocations: 0.6234 MB / 437.4 MB, free: 6.328 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.009408, allocations: 196 kB / 437.6 MB, free: 6.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.009796, allocations: 362.9 kB / 438 MB, free: 5.777 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.01015, allocations: 363.1 kB / 438.3 MB, free: 5.422 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.01019, allocations: 40 kB / 438.4 MB, free: 5.383 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.01052, allocations: 243.4 kB / 438.6 MB, free: 5.145 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.0107, allocations: 235.4 kB / 438.9 MB, free: 4.914 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.01083, allocations: 179.5 kB / 439 MB, free: 4.738 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005751/0.01141, allocations: 0.7088 MB / 439.7 MB, free: 4.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01141, allocations: 0 / 439.7 MB, free: 4.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01141, allocations: 0 / 439.7 MB, free: 4.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.01142, allocations: 0 / 439.7 MB, free: 4.027 MB / 410.7 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.0009561/0.01238, allocations: 0.7133 MB / 440.5 MB, free: 3.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.01241, allocations: 11.98 kB / 440.5 MB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.392e-05/0.01248, allocations: 94.69 kB / 440.6 MB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004346/0.01292, allocations: 120.5 kB / 440.7 MB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.01337, allocations: 359.9 kB / 441 MB, free: 2.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.01339, allocations: 29.36 kB / 441.1 MB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.92e-05/0.01349, allocations: 44.73 kB / 441.1 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.01417, allocations: 0.6953 MB / 441.8 MB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.01418, allocations: 7.938 kB / 441.8 MB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.01421, allocations: 15.98 kB / 441.8 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.01433, allocations: 72.94 kB / 441.9 MB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.01499, allocations: 0.6635 MB / 442.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1787/0.1936, allocations: 2.494 MB / 445 MB, free: 52.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.194, allocations: 286.7 kB / 445.3 MB, free: 52.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.1941, allocations: 198.3 kB / 445.5 MB, free: 52.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.1942, allocations: 3.094 kB / 445.5 MB, free: 52.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1942, allocations: 39.91 kB / 445.6 MB, free: 52.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.264e-06/0.1942, allocations: 0 / 445.6 MB, free: 52.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001362/0.1956, allocations: 1.223 MB / 446.8 MB, free: 52.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1956, allocations: 86.02 kB / 446.9 MB, free: 52.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.1958, allocations: 298.7 kB / 447.2 MB, free: 52.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1958, allocations: 32.33 kB / 447.2 MB, free: 52.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.1959, allocations: 260.4 kB / 447.4 MB, free: 51.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.196, allocations: 138.4 kB / 447.6 MB, free: 51.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-05/0.196, allocations: 93.23 kB / 447.7 MB, free: 51.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.1961, allocations: 347.3 kB / 448 MB, free: 51.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1962, allocations: 188.4 kB / 448.2 MB, free: 51.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.1964, allocations: 323.5 kB / 448.5 MB, free: 51.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.1968, allocations: 0.5519 MB / 449.1 MB, free: 50.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1968, allocations: 7.344 kB / 449.1 MB, free: 50.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006743/0.1975, allocations: 0.6792 MB / 449.7 MB, free: 50.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1975, allocations: 6.469 kB / 449.8 MB, free: 50.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004245/0.1979, allocations: 490.6 kB / 450.2 MB, free: 50.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/0.1982, allocations: 113.6 kB / 450.3 MB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.1983, allocations: 82.3 kB / 450.4 MB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.1996, allocations: 3.049 MB / 453.5 MB, free: 47.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1997, allocations: 24.69 kB / 453.5 MB, free: 47.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.1998, allocations: 20.23 kB / 453.5 MB, free: 47.66 MB / 410.7 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.0001499/0.1999, allocations: 211 kB / 453.7 MB, free: 47.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.2, allocations: 40.02 kB / 453.8 MB, free: 47.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.2004, allocations: 467.8 kB / 454.2 MB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.2004, allocations: 9.688 kB / 454.2 MB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.2004, allocations: 0 / 454.2 MB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2004, allocations: 5.016 kB / 454.2 MB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007504/0.2011, allocations: 0.974 MB / 455.2 MB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2011, allocations: 0 / 455.2 MB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.2013, allocations: 69.59 kB / 455.3 MB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2013, allocations: 0 / 455.3 MB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.2013, allocations: 7.094 kB / 455.3 MB, free: 46.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2013, allocations: 6.469 kB / 455.3 MB, free: 46.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2013, allocations: 0 / 455.3 MB, free: 46.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.2018, allocations: 0.7578 MB / 456 MB, free: 46.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.2019, allocations: 59.59 kB / 456.1 MB, free: 46.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.2019, allocations: 10.53 kB / 456.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.202, allocations: 19.52 kB / 456.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.202, allocations: 20.41 kB / 456.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.2021, allocations: 9.875 kB / 456.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.2022, allocations: 210.9 kB / 456.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2022, allocations: 3.281 kB / 456.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.2025, allocations: 112.5 kB / 456.5 MB, free: 46.26 MB / 410.7 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.0007348/0.2032, allocations: 1.323 MB / 457.8 MB, free: 45.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006518/0.2039, allocations: 0.6803 MB / 458.5 MB, free: 45.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2039, allocations: 0 / 458.5 MB, free: 45.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.204, allocations: 197.3 kB / 458.7 MB, free: 44.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.2044, allocations: 66.09 kB / 458.7 MB, free: 44.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.2075, allocations: 4.313 MB / 463.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.2077, allocations: 279.7 kB / 463.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.2079, allocations: 105.2 kB / 463.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.208, allocations: 140.8 kB / 463.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.208, allocations: 0 / 463.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.2285, allocations: 9.069 MB / 472.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.128/7.357, allocations: 7 kB / 472.6 MB, free: 40.67 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.329711006954312] Failed to read output from testmodel.py, exit status != 0: 7.440529813058674 7.448063489 7.434988609 Calling exit ...