Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.00128/0.00128, allocations: 79.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.001536/0.001536, 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.913/0.913, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2249/0.2249, allocations: 29.41 MB / 290.1 MB, free: 2.461 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.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.553e-05, allocations: 6.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004637/0.004663, allocations: 4.248 MB / 434.5 MB, free: 9.328 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.006041, allocations: 0.9193 MB / 435.4 MB, free: 8.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.006247, allocations: 15.88 kB / 435.4 MB, free: 8.391 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.006433, allocations: 59.42 kB / 435.5 MB, free: 8.332 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006679/0.007101, allocations: 250.6 kB / 435.7 MB, free: 8.086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.007359, allocations: 99.73 kB / 435.8 MB, free: 7.988 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.0079, allocations: 0.5021 MB / 436.3 MB, free: 7.484 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.008112, allocations: 96.31 kB / 436.4 MB, free: 7.387 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.008583, allocations: 311 kB / 436.7 MB, free: 7.082 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.008953, allocations: 247.3 kB / 436.9 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.009001, allocations: 28 kB / 437 MB, free: 6.812 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.382e-05/0.009055, allocations: 20 kB / 437 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.009198, allocations: 159.6 kB / 437.1 MB, free: 6.637 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.009322, allocations: 131.6 kB / 437.3 MB, free: 6.508 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.009701, allocations: 358.9 kB / 437.6 MB, free: 6.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.009707, allocations: 3.938 kB / 437.6 MB, free: 6.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.00971, allocations: 7.984 kB / 437.6 MB, free: 6.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.00972, allocations: 0 / 437.6 MB, free: 6.145 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001288/0.01101, allocations: 0.5876 MB / 438.2 MB, free: 5.527 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.01106, allocations: 11.98 kB / 438.2 MB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.118e-05/0.01112, allocations: 66.72 kB / 438.3 MB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.0112, allocations: 44.64 kB / 438.3 MB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.01167, allocations: 311.7 kB / 438.6 MB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.01169, allocations: 16.88 kB / 438.7 MB, free: 5.051 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.01173, allocations: 32.31 kB / 438.7 MB, free: 5.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.01215, allocations: 348.9 kB / 439 MB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.01216, allocations: 7.938 kB / 439 MB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.01218, allocations: 8 kB / 439 MB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.289e-05/0.01226, allocations: 32.47 kB / 439.1 MB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.01254, allocations: 237.8 kB / 439.3 MB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.01376, allocations: 1.273 MB / 440.6 MB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.01407, allocations: 157.1 kB / 440.7 MB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.01422, allocations: 93.73 kB / 440.8 MB, free: 2.754 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.01424, allocations: 0 / 440.8 MB, free: 2.754 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.01427, allocations: 42.5 kB / 440.9 MB, free: 2.703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.264e-06/0.01428, allocations: 0 / 440.9 MB, free: 2.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001058/0.01533, allocations: 0.6142 MB / 441.5 MB, free: 2.051 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.01538, allocations: 81.05 kB / 441.6 MB, free: 1.953 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.0156, allocations: 300.5 kB / 441.9 MB, free: 1.648 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.01562, allocations: 41.77 kB / 441.9 MB, free: 1.602 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.01573, allocations: 220 kB / 442.1 MB, free: 1.383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.01577, allocations: 55.53 kB / 442.2 MB, free: 1.328 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.01583, allocations: 49.66 kB / 442.2 MB, free: 1.273 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.01592, allocations: 342.8 kB / 442.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.016, allocations: 63.97 kB / 442.6 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.01612, allocations: 164.8 kB / 442.8 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.01634, allocations: 260.6 kB / 443 MB, free: 368 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01634, allocations: 0 / 443 MB, free: 368 kB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003315/0.01667, allocations: 327.6 kB / 443.3 MB, free: 32 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.01669, allocations: 8 kB / 443.4 MB, free: 24 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.0167, allocations: 4 kB / 443.4 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1869/0.2036, allocations: 51.41 kB / 443.4 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2038, allocations: 46.56 kB / 443.5 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008844/0.2047, allocations: 1.492 MB / 444.9 MB, free: 53.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.2048, allocations: 19.81 kB / 445 MB, free: 53.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.2048, allocations: 10.41 kB / 445 MB, free: 53.12 MB / 410.7 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 (28): * Single equations (assignments): 27 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.205, allocations: 175.9 kB / 445.1 MB, free: 53.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.205, allocations: 27.06 kB / 445.2 MB, free: 53.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.2053, allocations: 230.9 kB / 445.4 MB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2053, allocations: 6.844 kB / 445.4 MB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2053, allocations: 3.094 kB / 445.4 MB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2053, allocations: 0 / 445.4 MB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.2058, allocations: 0.5994 MB / 446 MB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2058, allocations: 0 / 446 MB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.2059, allocations: 23.38 kB / 446 MB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.206, allocations: 59.41 kB / 446.1 MB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.206, allocations: 6.906 kB / 446.1 MB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006022/0.2066, allocations: 1.497 MB / 447.6 MB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2066, allocations: 0 / 447.6 MB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.2069, allocations: 398.2 kB / 448 MB, free: 51.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.2069, allocations: 31.08 kB / 448 MB, free: 51.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.207, allocations: 10.44 kB / 448 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.207, allocations: 7 kB / 448 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.2071, allocations: 13.62 kB / 448 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.2071, allocations: 4.141 kB / 448 MB, free: 51.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.2072, allocations: 215.2 kB / 448.3 MB, free: 51.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2072, allocations: 0 / 448.3 MB, free: 51.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002514/0.2074, allocations: 70.19 kB / 448.3 MB, free: 51.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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): 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004114/0.2078, allocations: 0.9409 MB / 449.3 MB, free: 50.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.2083, allocations: 295.2 kB / 449.6 MB, free: 50.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2083, allocations: 0 / 449.6 MB, free: 50.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.2085, allocations: 204.3 kB / 449.8 MB, free: 50.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.2088, allocations: 72.73 kB / 449.8 MB, free: 49.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.2108, allocations: 2.996 MB / 452.8 MB, free: 48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.2109, allocations: 204.5 kB / 453 MB, free: 47.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.546e-05/0.211, allocations: 47.64 kB / 453.1 MB, free: 47.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.2111, allocations: 99.69 kB / 453.2 MB, free: 47.83 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2111, allocations: 0 / 453.2 MB, free: 47.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.2394, allocations: 6.933 MB / 460.1 MB, free: 46.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/7.354, allocations: 5.75 kB / 460.1 MB, free: 46.54 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.358288933523] Failed to read output from testmodel.py, exit status != 0: 7.436452223919332 7.44598917 7.433916634 Calling exit ...