Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.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.001879/0.001879, allocations: 111.6 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.00237/0.00237, allocations: 212.9 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.1879/0.1879, allocations: 38.53 MB / 352.5 MB, free: 12.57 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.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",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.003271/0.003271, allocations: 66.86 kB / 492.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3391, allocations: 62.47 MB / 0.542 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009629/0.3487, allocations: 6.961 MB / 0.5488 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004153/0.3529, allocations: 2.211 MB / 0.551 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.3533, allocations: 36.19 kB / 0.551 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.3549, allocations: 0.5279 MB / 0.5515 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.3562, allocations: 0.5579 MB / 0.5521 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009568/0.3572, allocations: 378.2 kB / 0.5524 GB, free: 8.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.3587, allocations: 1.313 MB / 0.5537 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007892/0.3595, allocations: 0.533 MB / 0.5542 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009606/0.3605, allocations: 0.5686 MB / 0.5548 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.3616, allocations: 0.7311 MB / 0.5555 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.3618, allocations: 99.38 kB / 0.5556 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.3628, allocations: 0.5559 MB / 0.5561 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005199/0.3633, allocations: 470.3 kB / 0.5566 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.3639, allocations: 0.5172 MB / 0.5571 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.3658, allocations: 1.475 MB / 0.5585 GB, free: 3.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3658, allocations: 0 / 0.5585 GB, free: 3.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3658, allocations: 4 kB / 0.5585 GB, free: 3.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.3658, allocations: 0 / 0.5585 GB, free: 3.57 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002907/0.3687, allocations: 1.297 MB / 0.5598 GB, free: 2.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3688, allocations: 11.98 kB / 0.5598 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.3689, allocations: 151.7 kB / 0.56 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008743/0.3698, allocations: 188.2 kB / 0.5601 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.3712, allocations: 0.6174 MB / 0.5607 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003263/0.3715, allocations: 329.6 kB / 0.5611 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.3718, allocations: 95.97 kB / 0.5611 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.3741, allocations: 1.354 MB / 0.5625 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.3741, allocations: 4 kB / 0.5625 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.983e-05/0.3742, allocations: 35.94 kB / 0.5625 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.3744, allocations: 65.91 kB / 0.5626 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/0.377, allocations: 1.3 MB / 0.5638 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007966/0.385, allocations: 4.844 MB / 0.5686 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.3873, allocations: 1.01 MB / 0.5696 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.3885, allocations: 0.5814 MB / 0.5701 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.446e-05/0.3885, allocations: 4.656 kB / 0.5701 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/0.3886, allocations: 39.22 kB / 0.5702 GB, free: 7.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 3.145e-06/0.3886, allocations: 4 kB / 0.5702 GB, free: 7.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006246/0.3948, allocations: 2.972 MB / 0.5731 GB, free: 4.266 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.3949, allocations: 85.77 kB / 0.5731 GB, free: 4.164 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006276/0.3955, allocations: 469.9 kB / 0.5736 GB, free: 3.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/0.3956, allocations: 37.7 kB / 0.5736 GB, free: 3.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.3959, allocations: 404.4 kB / 0.574 GB, free: 3.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.3962, allocations: 265.7 kB / 0.5743 GB, free: 2.988 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.3964, allocations: 150.6 kB / 0.5744 GB, free: 2.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.3966, allocations: 374.8 kB / 0.5748 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000959/0.3976, allocations: 0.4899 MB / 0.5753 GB, free: 1.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.3987, allocations: 0.6872 MB / 0.5759 GB, free: 1.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.4009, allocations: 1.216 MB / 0.5771 GB, free: 15.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4009, allocations: 4 kB / 0.5771 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.005315/0.4062, allocations: 1.899 MB / 0.579 GB, free: 13.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.4062, allocations: 15.88 kB / 0.579 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004035/0.4103, allocations: 1.623 MB / 0.5806 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.4122, allocations: 0.6494 MB / 0.5812 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.4129, allocations: 151.8 kB / 0.5813 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.4264, allocations: 7.22 MB / 0.5884 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00083/0.4272, allocations: 71.91 kB / 0.5885 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.4274, allocations: 28 kB / 0.5885 GB, free: 4.008 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006783/0.428, allocations: 313.7 kB / 0.5888 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.4282, allocations: 67.56 kB / 0.5889 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/0.431, allocations: 1.215 MB / 0.59 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.431, allocations: 20.08 kB / 0.5901 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.431, allocations: 0 / 0.5901 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.431, allocations: 7.969 kB / 0.5901 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/0.4356, allocations: 2.306 MB / 0.5923 GB, free: 0 / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4356, allocations: 0 / 0.5923 GB, free: 0 / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002616/0.4382, allocations: 0.4917 MB / 0.5928 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.4384, allocations: 32.84 kB / 0.5928 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.845e-05/0.4385, allocations: 16 kB / 0.5928 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.4401, allocations: 1.527 MB / 0.5943 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.4401, allocations: 3.938 kB / 0.5943 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003709/0.4438, allocations: 1.947 MB / 0.5962 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.4439, allocations: 59.56 kB / 0.5963 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.4441, allocations: 16 kB / 0.5963 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/0.4447, allocations: 59.92 kB / 0.5964 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.4449, allocations: 64.53 kB / 0.5964 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.4449, allocations: 19.94 kB / 0.5965 GB, free: 11.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004245/0.4454, allocations: 322.9 kB / 0.5968 GB, free: 11.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4454, allocations: 0 / 0.5968 GB, free: 11.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009919/0.4464, allocations: 235.9 kB / 0.597 GB, free: 11.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00404/0.4504, allocations: 2.499 MB / 0.5994 GB, free: 8.531 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003321/0.4537, allocations: 1.513 MB / 0.6009 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4537, allocations: 3.938 kB / 0.6009 GB, free: 6.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002827/0.4565, allocations: 0.9711 MB / 0.6019 GB, free: 6.004 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.4576, allocations: 157.5 kB / 0.602 GB, free: 5.855 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.4763, allocations: 9.307 MB / 0.6111 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.4775, allocations: 1.067 MB / 0.6121 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007034/0.4782, allocations: 209.5 kB / 0.6123 GB, free: 10.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005983/0.4788, allocations: 291.3 kB / 0.6126 GB, free: 10.68 MB / 462.1 MB Notification: Performance of SimCode: time 1.664e-06/0.4788, allocations: 0 / 0.6126 GB, free: 10.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07168/0.5505, allocations: 21.23 MB / 0.6333 GB, free: 5.629 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/14.84, allocations: 6.719 kB / 0.6334 GB, free: 5.629 MB / 478.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.093012597877532] Failed to read output from testmodel.py, exit status != 0: 14.976471330970526 14.993416986 14.624173667 Calling exit ...