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.001355/0.001355, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001509/0.001509, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.1846/0.1846, allocations: 38.52 MB / 352.4 MB, free: 12.53 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.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: 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.00229/0.00229, allocations: 72.12 kB / 492.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3166, allocations: 62.47 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.00615/0.3228, allocations: 4.498 MB / 0.5464 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.3246, allocations: 0.9702 MB / 0.5473 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.3247, allocations: 19.78 kB / 0.5474 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.3249, allocations: 57.11 kB / 0.5474 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006098/0.3256, allocations: 252.8 kB / 0.5477 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.3258, allocations: 98.23 kB / 0.5478 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006734/0.3265, allocations: 0.4918 MB / 0.5482 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.3267, allocations: 95.73 kB / 0.5483 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.3272, allocations: 246.3 kB / 0.5486 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.3276, allocations: 287.3 kB / 0.5488 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.3277, allocations: 23.03 kB / 0.5489 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.495e-05/0.3278, allocations: 23.47 kB / 0.5489 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.328, allocations: 155.9 kB / 0.549 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.3282, allocations: 176.3 kB / 0.5492 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.3287, allocations: 369.5 kB / 0.5495 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3287, allocations: 0 / 0.5495 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3287, allocations: 1.094 kB / 0.5495 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3288, allocations: 0 / 0.5495 GB, free: 10.73 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001397/0.3302, allocations: 0.5948 MB / 0.5501 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.3302, allocations: 13.14 kB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.633e-05/0.3303, allocations: 64.09 kB / 0.5502 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.3304, allocations: 43.33 kB / 0.5502 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.3311, allocations: 322.6 kB / 0.5506 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.3311, allocations: 22.25 kB / 0.5506 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/0.3312, allocations: 24.91 kB / 0.5506 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.3318, allocations: 353.9 kB / 0.5509 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3318, allocations: 0 / 0.5509 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.3318, allocations: 10.91 kB / 0.5509 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.3319, allocations: 27.06 kB / 0.551 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/0.3324, allocations: 242.2 kB / 0.5512 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.3343, allocations: 1.332 MB / 0.5525 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.3347, allocations: 157.2 kB / 0.5527 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.3349, allocations: 94.09 kB / 0.5527 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3349, allocations: 6.125 kB / 0.5527 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.3349, allocations: 35.72 kB / 0.5528 GB, free: 8.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.3349, allocations: 0 / 0.5528 GB, free: 8.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001429/0.3364, allocations: 0.6285 MB / 0.5534 GB, free: 7.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.3364, allocations: 78.98 kB / 0.5535 GB, free: 7.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.3368, allocations: 295.8 kB / 0.5538 GB, free: 7.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.3369, allocations: 30.7 kB / 0.5538 GB, free: 7.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.337, allocations: 216.4 kB / 0.554 GB, free: 7.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.3371, allocations: 54.94 kB / 0.554 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3372, allocations: 56.23 kB / 0.5541 GB, free: 7.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.3374, allocations: 337.9 kB / 0.5544 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3375, allocations: 68.3 kB / 0.5545 GB, free: 6.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.3378, allocations: 167.5 kB / 0.5546 GB, free: 6.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.3381, allocations: 252.1 kB / 0.5549 GB, free: 6.332 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3381, allocations: 1.156 kB / 0.5549 GB, free: 6.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005207/0.3386, allocations: 325.5 kB / 0.5552 GB, free: 6.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3386, allocations: 6.531 kB / 0.5552 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3386, allocations: 3.281 kB / 0.5552 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.3389, allocations: 58.12 kB / 0.5553 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.339, allocations: 48.77 kB / 0.5553 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.3406, allocations: 1.507 MB / 0.5568 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.3408, allocations: 5.188 kB / 0.5568 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.3408, allocations: 21.73 kB / 0.5568 GB, free: 4.676 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 (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.0002289/0.341, allocations: 166.2 kB / 0.557 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.3411, allocations: 31.97 kB / 0.557 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004422/0.3415, allocations: 235 kB / 0.5572 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3415, allocations: 2.25 kB / 0.5572 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3415, allocations: 5.125 kB / 0.5572 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.3415, allocations: 3.984 kB / 0.5572 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3426, allocations: 0.6182 MB / 0.5578 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3426, allocations: 0 / 0.5578 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.3427, allocations: 20 kB / 0.5578 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000202/0.3429, allocations: 64.81 kB / 0.5579 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3429, allocations: 4 kB / 0.5579 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.3444, allocations: 1.506 MB / 0.5594 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3444, allocations: 0 / 0.5594 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.3449, allocations: 412.5 kB / 0.5598 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.345, allocations: 27.84 kB / 0.5598 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.345, allocations: 15.92 kB / 0.5598 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3452, allocations: 0 / 0.5598 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.3452, allocations: 15.97 kB / 0.5598 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3452, allocations: 4 kB / 0.5598 GB, free: 1.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.3454, allocations: 211.1 kB / 0.56 GB, free: 1.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3454, allocations: 4.062 kB / 0.56 GB, free: 1.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004143/0.3458, allocations: 68 kB / 0.5601 GB, free: 1.227 MB / 398.1 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.0008544/0.3467, allocations: 0.9372 MB / 0.561 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006061/0.3473, allocations: 309.6 kB / 0.5613 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3473, allocations: 0 / 0.5613 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.3477, allocations: 211.5 kB / 0.5615 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.3482, allocations: 67.72 kB / 0.5616 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.3522, allocations: 3.052 MB / 0.5646 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.3528, allocations: 0.8065 MB / 0.5654 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.3529, allocations: 42.94 kB / 0.5654 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.3531, allocations: 103.4 kB / 0.5655 GB, free: 11.45 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3531, allocations: 0 / 0.5655 GB, free: 11.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/0.3923, allocations: 6.316 MB / 0.5717 GB, free: 5.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.18, allocations: 2.812 kB / 0.5717 GB, free: 5.266 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 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: 14.874359047040343] Failed to read output from testmodel.py, exit status != 0: 12.296492868801579 12.313878779 11.98169959 Calling exit ...