Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.0007578/0.0007578, 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.0008639/0.0008639, allocations: 165.3 kB / 24.26 MB, free: 176 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.9031/0.9031, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.2216/0.2216, allocations: 29.42 MB / 290.5 MB, free: 2.422 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.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.271e-05, allocations: 2.312 kB / 368.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.004744/0.004757, allocations: 5.986 MB / 374.4 MB, free: 5.773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.006473, allocations: 1.352 MB / 375.7 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.006714, allocations: 31.75 kB / 375.8 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.007118, allocations: 154.7 kB / 375.9 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006219/0.00774, allocations: 421.5 kB / 376.3 MB, free: 3.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.008093, allocations: 195.5 kB / 376.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007848/0.008878, allocations: 1.114 MB / 377.6 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.009134, allocations: 213.2 kB / 377.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007185/0.009853, allocations: 0.631 MB / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005065/0.01036, allocations: 0.5027 MB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.866e-05/0.01043, allocations: 64 kB / 379 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.01051, allocations: 68 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.01071, allocations: 331.1 kB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.01089, allocations: 255.5 kB / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006096/0.0115, allocations: 0.8607 MB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.01151, allocations: 4 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01151, allocations: 0 / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.01152, allocations: 0 / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00122/0.01274, allocations: 0.9393 MB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.01278, allocations: 15.98 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.359e-05/0.01286, allocations: 102.7 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.01299, allocations: 120.5 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006295/0.01362, allocations: 0.5345 MB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.01379, allocations: 224.1 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.01386, allocations: 60.08 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/0.01466, allocations: 0.7694 MB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.01467, allocations: 7.938 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.01471, allocations: 23.94 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-05/0.01478, allocations: 40.97 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008252/0.01561, allocations: 0.7142 MB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.01789, allocations: 2.429 MB / 386.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009141/0.0188, allocations: 0.6908 MB / 387.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.01929, allocations: 379.5 kB / 387.6 MB, free: 8.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.01932, allocations: 8.5 kB / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.01935, allocations: 47.05 kB / 387.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.344e-06/0.01936, allocations: 3.938 kB / 387.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002534/0.02189, allocations: 1.863 MB / 389.5 MB, free: 6.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.02193, allocations: 89.55 kB / 389.6 MB, free: 6.234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.02221, allocations: 405.9 kB / 390 MB, free: 5.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.02224, allocations: 33.7 kB / 390 MB, free: 5.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.02237, allocations: 293 kB / 390.3 MB, free: 5.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.271e-05/0.02246, allocations: 182.4 kB / 390.5 MB, free: 5.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.02257, allocations: 102.3 kB / 390.6 MB, free: 5.215 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.02266, allocations: 358.8 kB / 390.9 MB, free: 4.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.02297, allocations: 273.1 kB / 391.2 MB, free: 4.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.02332, allocations: 382 kB / 391.6 MB, free: 4.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.02397, allocations: 0.6452 MB / 392.2 MB, free: 3.492 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02397, allocations: 4 kB / 392.2 MB, free: 3.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009473/0.02492, allocations: 0.8189 MB / 393 MB, free: 2.656 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.02493, allocations: 8 kB / 393 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.02494, allocations: 4 kB / 393 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.02512, allocations: 73.67 kB / 393.1 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/0.02585, allocations: 303.7 kB / 393.4 MB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/0.02926, allocations: 6.103 MB / 399.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.02946, allocations: 47.95 kB / 399.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.02949, allocations: 23.98 kB / 399.6 MB, free: 11.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001912/0.02968, allocations: 237.6 kB / 399.8 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.02975, allocations: 67.67 kB / 399.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/0.03059, allocations: 0.7543 MB / 400.6 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.0306, allocations: 8 kB / 400.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.0306, allocations: 0 / 400.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.03061, allocations: 3.984 kB / 400.6 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.03216, allocations: 1.523 MB / 402.2 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.03216, allocations: 0 / 402.2 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000803/0.03296, allocations: 323.6 kB / 402.5 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001641/0.03313, allocations: 97.56 kB / 402.6 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.03315, allocations: 12 kB / 402.6 MB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.03443, allocations: 2.95 MB / 405.5 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.03444, allocations: 3.938 kB / 405.5 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.03564, allocations: 1.253 MB / 406.8 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.03568, allocations: 43.67 kB / 406.8 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.03572, allocations: 16.03 kB / 406.9 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.03589, allocations: 39.95 kB / 406.9 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.03599, allocations: 43.86 kB / 406.9 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.03601, allocations: 23.98 kB / 407 MB, free: 3.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.03619, allocations: 287.1 kB / 407.2 MB, free: 3.605 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03619, allocations: 0 / 407.2 MB, free: 3.605 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004051/0.0366, allocations: 148 kB / 407.4 MB, free: 3.461 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%), (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.001414/0.03801, allocations: 1.803 MB / 409.2 MB, free: 1.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.03946, allocations: 1.065 MB / 410.3 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.03946, allocations: 0 / 410.3 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.04047, allocations: 0.7862 MB / 411 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.04094, allocations: 146.9 kB / 411.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/0.04619, allocations: 5.666 MB / 416.8 MB, free: 9.691 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.04641, allocations: 336.9 kB / 417.2 MB, free: 9.336 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000236/0.04664, allocations: 128.7 kB / 417.3 MB, free: 9.211 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.04684, allocations: 204.4 kB / 417.5 MB, free: 9.012 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.04684, allocations: 0 / 417.5 MB, free: 9.012 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.07372, allocations: 14.43 MB / 431.9 MB, free: 10.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.381, allocations: 6.688 kB / 431.9 MB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.371502880007029] Failed to read output from testmodel.py, exit status != 0: 8.476450182497501 8.607502923 8.593641073 Calling exit ...