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.001211/0.001211, allocations: 92.33 kB / 20.95 MB, free: 3.48 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.0008794/0.0008794, allocations: 165.3 kB / 24.26 MB, free: 180 kB / 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.8848/0.8848, allocations: 177.2 MB / 204.6 MB, free: 5.578 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.2169/0.2169, allocations: 29.42 MB / 290.5 MB, free: 2.43 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 1.643e-06/1.643e-06, allocations: 0 / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.77e-05, allocations: 6.312 kB / 368.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.003756/0.003774, allocations: 4.254 MB / 372.6 MB, free: 7.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.004787, allocations: 0.9116 MB / 373.6 MB, free: 6.594 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.004916, allocations: 23.81 kB / 373.6 MB, free: 6.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.00507, allocations: 51.48 kB / 373.6 MB, free: 6.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.005491, allocations: 246.6 kB / 373.9 MB, free: 6.277 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.005917, allocations: 103.7 kB / 374 MB, free: 6.176 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.006257, allocations: 0.5021 MB / 374.5 MB, free: 5.672 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.006429, allocations: 96.27 kB / 374.6 MB, free: 5.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.006744, allocations: 307 kB / 374.9 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.007016, allocations: 255.3 kB / 375.1 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.007046, allocations: 24 kB / 375.1 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.371e-05/0.00708, allocations: 24 kB / 375.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.007182, allocations: 155.6 kB / 375.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.007271, allocations: 119.7 kB / 375.4 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.007537, allocations: 358.8 kB / 375.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.007539, allocations: 4 kB / 375.8 MB, free: 4.355 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007539, allocations: 0 / 375.8 MB, free: 4.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.007544, allocations: 0 / 375.8 MB, free: 4.355 MB / 346.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.000697/0.008241, allocations: 0.5954 MB / 376.4 MB, free: 3.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.008277, allocations: 11.98 kB / 376.4 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.008327, allocations: 62.73 kB / 376.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.008397, allocations: 64.69 kB / 376.5 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.008753, allocations: 327.6 kB / 376.8 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.008772, allocations: 24.88 kB / 376.9 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.008809, allocations: 28.33 kB / 376.9 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/0.009144, allocations: 360.8 kB / 377.2 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.009153, allocations: 0 / 377.2 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.009171, allocations: 12 kB / 377.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.905e-05/0.00924, allocations: 28.41 kB / 377.3 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.009487, allocations: 237.8 kB / 377.5 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009768/0.01046, allocations: 1.281 MB / 378.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.0107, allocations: 157 kB / 379 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.01082, allocations: 89.98 kB / 379 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.01084, allocations: 7.984 kB / 379 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.01086, allocations: 42.5 kB / 379.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.01086, allocations: 0 / 379.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008445/0.01171, allocations: 0.6176 MB / 379.7 MB, free: 208 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.01174, allocations: 81.11 kB / 379.8 MB, free: 108 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.01194, allocations: 300.5 kB / 380.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.01196, allocations: 33.64 kB / 380.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.01205, allocations: 220 kB / 380.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.01208, allocations: 59.52 kB / 380.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.01214, allocations: 57.59 kB / 380.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.175e-05/0.01222, allocations: 338.8 kB / 380.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.01229, allocations: 63.95 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.01263, allocations: 169 kB / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.01282, allocations: 255.9 kB / 381.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01283, allocations: 4 kB / 381.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003136/0.01314, allocations: 334.1 kB / 381.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01315, allocations: 12.09 kB / 381.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01316, allocations: 4 kB / 381.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.01329, allocations: 48.83 kB / 381.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.01339, allocations: 47.91 kB / 381.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008701/0.01426, allocations: 1.498 MB / 383.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.01434, allocations: 11.94 kB / 383.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.01435, allocations: 8 kB / 383.2 MB, free: 12.43 MB / 362.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.0001237/0.01447, allocations: 177.7 kB / 383.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.01451, allocations: 35.8 kB / 383.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.01477, allocations: 228.3 kB / 383.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01478, allocations: 7.938 kB / 383.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01478, allocations: 4 kB / 383.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01478, allocations: 0 / 383.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.01531, allocations: 0.5997 MB / 384.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.01531, allocations: 4 kB / 384.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.01537, allocations: 27.92 kB / 384.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.0155, allocations: 52.8 kB / 384.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.01552, allocations: 11.98 kB / 384.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008777/0.0164, allocations: 1.502 MB / 385.8 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.0164, allocations: 0 / 385.8 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.01678, allocations: 405.6 kB / 386.2 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.01681, allocations: 27.83 kB / 386.3 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.01683, allocations: 4 kB / 386.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.0169, allocations: 11.98 kB / 386.3 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.01693, allocations: 7.984 kB / 386.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.01694, allocations: 4 kB / 386.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.01708, allocations: 219 kB / 386.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01708, allocations: 4.156 kB / 386.5 MB, free: 8.902 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.01733, allocations: 67.94 kB / 386.6 MB, free: 8.836 MB / 362.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.0005748/0.01791, allocations: 0.9467 MB / 387.5 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.01829, allocations: 303.3 kB / 387.8 MB, free: 7.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.0183, allocations: 0 / 387.8 MB, free: 7.551 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.01872, allocations: 202.5 kB / 388 MB, free: 7.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.01906, allocations: 67.64 kB / 388.1 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.02164, allocations: 3.022 MB / 391.1 MB, free: 4.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.02178, allocations: 203.5 kB / 391.3 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.286e-05/0.02187, allocations: 46.94 kB / 391.4 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.02198, allocations: 100.5 kB / 391.5 MB, free: 3.703 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02198, allocations: 0 / 391.5 MB, free: 3.703 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.04705, allocations: 7.037 MB / 398.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.185/7.232, allocations: 10.36 kB / 398.5 MB, free: 12.78 MB / 378.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.000269906 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.01460979692638] Failed to read output from testmodel.py, exit status != 0: 7.315673885867 7.32499273 7.315688918 Calling exit ...