Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.0007973/0.0007973, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.0009092/0.0009092, allocations: 170 kB / 23.95 MB, free: 0.6172 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.891/0.891, allocations: 177.2 MB / 204.3 MB, free: 5.719 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.229/0.229, allocations: 29.4 MB / 290.1 MB, free: 2.434 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.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.714e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004201/0.004218, allocations: 4.46 MB / 434.7 MB, free: 9.102 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.00609, allocations: 1.425 MB / 436.1 MB, free: 7.672 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.006268, allocations: 23.81 kB / 436.1 MB, free: 7.648 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006748/0.006943, allocations: 372.9 kB / 436.5 MB, free: 7.285 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.007294, allocations: 246.5 kB / 436.7 MB, free: 7.043 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.007765, allocations: 267.1 kB / 437 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.008143, allocations: 0.5688 MB / 437.6 MB, free: 6.211 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.008455, allocations: 246.8 kB / 437.8 MB, free: 5.969 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.008784, allocations: 362.9 kB / 438.2 MB, free: 5.613 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.009056, allocations: 287.3 kB / 438.4 MB, free: 5.332 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.009093, allocations: 39.94 kB / 438.5 MB, free: 5.293 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.009294, allocations: 151.7 kB / 438.6 MB, free: 5.145 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.009443, allocations: 235.4 kB / 438.8 MB, free: 4.914 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.009566, allocations: 183.5 kB / 439 MB, free: 4.734 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.01003, allocations: 0.6114 MB / 439.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.01004, allocations: 0 / 439.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.01004, allocations: 0 / 439.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.01005, allocations: 0 / 439.6 MB, free: 4.121 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0008756/0.01092, allocations: 0.7056 MB / 440.3 MB, free: 3.383 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.01096, allocations: 11.98 kB / 440.4 MB, free: 3.371 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.01102, allocations: 78.72 kB / 440.4 MB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.01144, allocations: 132.5 kB / 440.6 MB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.01186, allocations: 351.9 kB / 440.9 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.01188, allocations: 29.38 kB / 440.9 MB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.01199, allocations: 68.61 kB / 441 MB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.01263, allocations: 0.641 MB / 441.6 MB, free: 1.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.01265, allocations: 4 kB / 441.6 MB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.01268, allocations: 16 kB / 441.7 MB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-05/0.01276, allocations: 32.98 kB / 441.7 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.01326, allocations: 479.5 kB / 442.2 MB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1731/0.1864, allocations: 2.851 MB / 445 MB, free: 52.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.1867, allocations: 177.2 kB / 445.2 MB, free: 52.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.361e-05/0.1868, allocations: 102.1 kB / 445.3 MB, free: 52.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.1868, allocations: 4.812 kB / 445.3 MB, free: 52.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.1868, allocations: 36.31 kB / 445.3 MB, free: 52.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.384e-06/0.1868, allocations: 0 / 445.3 MB, free: 52.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.001016/0.1878, allocations: 0.7709 MB / 446.1 MB, free: 52.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.1879, allocations: 80.3 kB / 446.2 MB, free: 52.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1881, allocations: 359.6 kB / 446.5 MB, free: 52.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1881, allocations: 32.8 kB / 446.6 MB, free: 52.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.1882, allocations: 315.7 kB / 446.9 MB, free: 51.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.1882, allocations: 76.36 kB / 446.9 MB, free: 51.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.489e-05/0.1883, allocations: 85.53 kB / 447 MB, free: 51.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.1883, allocations: 342.6 kB / 447.4 MB, free: 51.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1885, allocations: 124.8 kB / 447.5 MB, free: 51.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.1886, allocations: 336.4 kB / 447.8 MB, free: 51.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.1889, allocations: 0.4916 MB / 448.3 MB, free: 50.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1889, allocations: 0 / 448.3 MB, free: 50.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000587/0.1895, allocations: 0.5638 MB / 448.9 MB, free: 50.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1895, allocations: 6.531 kB / 448.9 MB, free: 50.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000281/0.1898, allocations: 264.4 kB / 449.1 MB, free: 50.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.19, allocations: 91.17 kB / 449.2 MB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.1902, allocations: 98.25 kB / 449.3 MB, free: 50.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009865/0.1912, allocations: 1.613 MB / 450.9 MB, free: 48.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.1914, allocations: 18.44 kB / 450.9 MB, free: 48.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.1914, allocations: 27.16 kB / 451 MB, free: 48.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.1916, allocations: 216 kB / 451.2 MB, free: 48.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.1917, allocations: 35.81 kB / 451.2 MB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.192, allocations: 289.4 kB / 451.5 MB, free: 48.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.192, allocations: 2.906 kB / 451.5 MB, free: 48.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.192, allocations: 7.094 kB / 451.5 MB, free: 48.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.192, allocations: 4.828 kB / 451.5 MB, free: 48.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/0.1927, allocations: 0.7451 MB / 452.3 MB, free: 48.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1927, allocations: 2.625 kB / 452.3 MB, free: 48.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.1928, allocations: 51.66 kB / 452.3 MB, free: 48.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1928, allocations: 3.25 kB / 452.3 MB, free: 48.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1929, allocations: 7.125 kB / 452.3 MB, free: 48.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1929, allocations: 6.969 kB / 452.3 MB, free: 48.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1929, allocations: 3.516 kB / 452.3 MB, free: 48.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.1932, allocations: 476.9 kB / 452.8 MB, free: 47.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.1932, allocations: 33.73 kB / 452.8 MB, free: 47.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.1932, allocations: 10.62 kB / 452.8 MB, free: 47.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.1933, allocations: 7.188 kB / 452.8 MB, free: 47.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.1933, allocations: 24.52 kB / 452.9 MB, free: 47.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1933, allocations: 10.56 kB / 452.9 MB, free: 47.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1935, allocations: 230.9 kB / 453.1 MB, free: 47.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1935, allocations: 0 / 453.1 MB, free: 47.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.1938, allocations: 98.62 kB / 453.2 MB, free: 47.77 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 (24): * Single equations (assignments): 23 * Array equations: 0 * 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.0005186/0.1943, allocations: 1.004 MB / 454.2 MB, free: 46.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.1948, allocations: 439.9 kB / 454.6 MB, free: 46.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1948, allocations: 0 / 454.6 MB, free: 46.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.852e-05/0.1949, allocations: 111.1 kB / 454.7 MB, free: 46.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1953, allocations: 73.47 kB / 454.8 MB, free: 46.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.1982, allocations: 3.903 MB / 458.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.1983, allocations: 264.3 kB / 459 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.1985, allocations: 114 kB / 459.1 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.1986, allocations: 146 kB / 459.2 MB, free: 43.89 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1986, allocations: 1.531 kB / 459.2 MB, free: 43.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.2195, allocations: 8.263 MB / 467.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.379/7.598, allocations: 3.188 kB / 467.5 MB, free: 42.49 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.524780141189694] Failed to read output from testmodel.py, exit status != 0: 7.683097222819924 7.690515933 7.678691353 Calling exit ...